Hi,
The functionality of closures in Clojure is more or less the same as
Scheme. But the implementation may be quite different. I seem to
recall that some Schemes treat lexical environments as first-class
objects. Clojure does not (at present).
Here's what happens in Clojure: When you write (
You can take a look at the IFn, AFn & Fn files in the clojure.lang
package to get a better understanding of what is going on.
Sean
On Feb 4, 8:33 am, Ludovic Kuty wrote:
> Hello,
>
> I was wondering if symbol resolution in local scope (in a let or
> function body) works the same way as it is in