2 ms·
Do you mean PAL, not APL? (PAL's initial implementation was in Lisp, FWIW.) http://en.wikipedia.org/wiki/Closure_%28computer_programming%29 http://en.wikipedia.
by calibraxis 12y ago
Do you mean PAL, not APL? (PAL's initial implementation was in Lisp, FWIW.) http://en.wikipedia.org/wiki/Closure_%28computer_programming%29 http://en.wikipedia.org/wiki/Closure_%28computer_programming...
My (probably bad) knowledge of history is that the Lisps didn't do lexical scoping particularly well until Scheme. (Hopefully I don't have a false sense of "closures" vs. "lexical scoping".)
- aurora72 12y agoYes I meant APL, not PAL. By functional closures, I tried to mean functions as first-class objects, i.e. ability to pass them as arguments or store them in data structures, etc. I had read this in an article about Ruby, AFAIK. It was talking about Ruby (or alternatively "Matz") borrowing many principles from LISP and there the author had mentioned Lisp's functions being first-class objects were adopted from APL. I should find that article to clear the things up.