Re: Tcl/Lisp/Python: A "User" point of view

Mark Friedman (bobo@avogadro.arc.nasa.gov)
Wed, 28 Sep 1994 17:18:57 GMT

In article <DGAY.94Sep28100236@litsun13.epfl.ch> dgay@litsun13.epfl.ch
(Gay David) writes:

In article <BOBO.94Sep27093605@avogadro.arc.nasa.gov> bobo@avogadro.arc.nasa.gov (Mark Friedman) writes:
A few clicks later I also saw the following:

Note that functions created with lambda forms cannot contain
statements.

Supposedly these features were created by popular demand. So which one
of you demanded these eviscerated lambdas?

While browsing through the reference manual I had the same thought... But
presumably this doesn't lead to any atrocious restrictions as you can
just have your lambda call a function. Any comments from the python fans ?

It's not really the lack of statements that makes these functions
eviscerated; it's the lack of ability to reference variables in
non-global outer scopes (i.e. closures).

I was going to underline that section of the quote. I figured that it
would stand out to the functional programming people. I forgot that I
was also cross-posting to some groups where people where less familiar
with passing around closures.

-Mark

-- 
Mark Friedman
NASA-Ames Research Center
MS 269-2
Moffett Field, CA 94035-1000

vmail: (415) 604-0573 email: bobo@ptolemy.arc.nasa.gov