Re: Reference and First-Class Function
Florent Georges <[email protected]> Sat, 20 Dec 2008 20:35:05 +0100 (CET)
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Dimitre Novatchev wrote: > Once again, closures "have references" to external variables. > As I said even in my previous message, a closure contains a > reference. Or put in another way: if you get closures, you get references. > A closure relies on the concept of reference being already > implemented. I wouldn't put it like that. Closures does not rely on the feature of reference being available in the language, even if their implementation needs to provide that in some way. And as Michael showed us, if you get closures, you get references for free. Regards, -- Florent Georges http://www.fgeorges.org/