in reply to Re: Lexical closures
in thread Lexical closures
Nope, lambda does the same. Python function definitions also create closures, BTW.
And it still doesn't explain why the same happens in Common Lisp and Javascript, both of which support closures.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Lexical closures
by Corion (Patriarch) on Oct 25, 2008 at 08:27 UTC | |
Re^3: Lexical closures
by mpeever (Friar) on Oct 25, 2008 at 17:40 UTC | |
by mpeever (Friar) on Oct 25, 2008 at 20:07 UTC |
In Section
Seekers of Perl Wisdom