From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: f8899,3c634d3864722c74 X-Google-Thread: 10dd18,3c634d3864722c74 X-Google-Thread: f4fd2,3c634d3864722c74 X-Google-Thread: 103376,3c634d3864722c74 X-Google-Attributes: gidf8899,gid10dd18,gidf4fd2,gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.telenor.com!news.telenor.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 29 Dec 2007 12:39:26 -0600 Date: Sat, 29 Dec 2007 19:39:17 +0100 Subject: Re: Choosing a new language From: "John Thingstad" Organization: private Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Newsgroups: comp.lang.haskell,comp.lang.python,comp.lang.lisp,comp.lang.ada References: <20071228162351.f29a3ce4.coolzone@it.dk> <20071229161119.72a5dccf@solaris.tower> Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera Mail/9.25 (Win32) X-Antivirus: avast! (VPS 071228-0, 28.12.2007), Outbound message X-Antivirus-Status: Clean X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 84.202.158.36 X-Trace: sv3-FWuoaugFNBOF0CVjnh6HUbEL16TJfjkKlvNDt38F7Z/6x4upx1e8j75v7GaZwtC73hf78jLzNVo8hU5!xK/85LBz74kTx9pyiBeVz4pvJwCG2lgrZhJSB2kDAIVM9TfLKLBpUKUoq5zP/QbrJS6y5z1D/Oki!s/A= X-Complaints-To: news-abuse@telenor.net X-DMCA-Complaints-To: news-abuse@telenor.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37 Xref: g2news1.google.com comp.lang.haskell:1009 comp.lang.python:161119 comp.lang.lisp:76477 comp.lang.ada:19067 Date: 2007-12-29T19:39:17+01:00 List-Id: P� Sat, 29 Dec 2007 18:58:30 +0100, skrev Arnaud Delobelle : > On Dec 29, 3:11�pm, Achim Schneider 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