From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Accessing enclosed symbol. Date: 17 Oct 2002 13:53:19 +0000 Organization: Naggum Software, Oslo, Norway Lines: 20 Message-ID: <3243851599697469@naggum.no> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1034862799 25747 129.240.65.5 (17 Oct 2002 13:53:19 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 17 Oct 2002 13:53:19 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:44151 * Jacek Generowicz | Is there a pithy term to describe "what-is-this-called?"? ... in other | words, to describe variables captured(?)/enclosed(?) by a closure. Binding. A closure is closed over bindings, hence the name. | Is there a way of getting at the values of the enclosed variables? Just reference them. If you want to have a mapping from symbol to value, you have to the exact same thing you would have to do with any other lexical binding: Do it yourself. (let ((a 2) (b 3) (c 5) (d 7)) (case (a a) (b b) (c c) (d d))) -- 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.