• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: POSIX and lists question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: POSIX and lists question
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: POSIX and lists question (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Quitting from an idle handler
  • Next by Date: Re: POSIX and lists question
  • Previous by thread: Re: POSIX and lists question
  • Next by thread: Re: POSIX and lists question
  • Index(es):
    • Date
    • Thread