Re: POSIX and lists question
Re: POSIX and lists question
- Subject: Re: POSIX and lists question
- From: has <email@hidden>
- Date: Sat, 13 Aug 2005 17:48:09 +0100
Matt Neuburg wrote:
>Sorry, I haven't been paying attention to this thread. But AppleScript does
>have closures;
In that case it's the commonly given definition of 'closure' as a _function_ that captures its lexical environment that's wrong, and should be expanded to allow for composite structures as well (in this case, a handler enclosed in a script object). I have looked around a bit, but the only definitions I've found were either specific about them being functions (i.e. atomic, callable objects, either named or anonymous) or weren't clear enough to determine, so that's what I'm going by. (More here: <http://lists.apple.com/archives/applescript-users/2005//Aug/msg00255.html>.)
One thing we can definitely agree on: AppleScript _handlers_ are NOT closures, which is what Mark originally said (citing you as the source, hence the cc.). Anything else you'll need to take up with the Intarweb; I just report on what it tells me. ;)
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden