På Sat, 29 Dec 2007 18:58:30 +0100, skrev Arnaud Delobelle <[EMAIL PROTECTED]>:
> On Dec 29, 3:11 pm, Achim Schneider <[EMAIL PROTECTED]> wrote: > [...] >> Lisp throws lambda calculus right into your face, which is a good >> thing. Scheme might be the better choice, it's lexically >> scoped:http://mitpress.mit.edu/sicp/ >> There are also video lectures with people with funny hats speaking wise >> words. > > Common Lisp has lexical scoping as well (although defvar allows you to > declare dynamically scoped variables). > > -- > Arnaud > More precisely defvar, defparameter, progv and (declare (special var)) create variables with dynamic scope. let and let* do as you said use a lexical scope. (unless you use a declare as above) -------------- John Thingstad -- http://mail.python.org/mailman/listinfo/python-list