From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ulv.nextra.no!nextra.com!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Midfunction Recursion Date: 24 Oct 2002 18:08:10 +0000 Organization: Naggum Software, Oslo, Norway Lines: 15 Message-ID: <3244471690409508@naggum.no> References: <3244375917435651@naggum.no> <3244459363713506@naggum.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1035482891 8078 129.240.65.5 (24 Oct 2002 18:08:11 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 24 Oct 2002 18:08:11 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:44579 * Greg Menke | Assuming the map results you give are for scheme, it seems Scheme is | closing over the value of i instead of the variable itself. If so, are | all Scheme closures formed that way? Scheme specifies that each new "iteration" has its own bindings, just as if it had used (local) recursion, while Common Lisp has one binding and iterates by asssigning new values to it. The more basic Scheme facility "named let" makes this somewhat more explicit. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.