From ... From: Erik Naggum Subject: Re: Returning Functions Date: 1997/10/03 Message-ID: <3084857622657258@naggum.no>#1/1 X-Deja-AN: 277531737 References: <60vm5a$nnm$1@news.ycc.yale.edu> <343370AA.C808805D@uclink4.berkeley.edu> <3084810271646576@naggum.no> <6110kd$equ$1@mycroft.westnet.com> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * Lawrence Troxler | Just jumping in here - this means, then, that lambda is actually | equivalent to #', in the same way quote is equivalent to '? no, that's not it. #'x is read as (function x). 'x is read as (quote x). you can easily see this by evaluating (car (read)) and typing in each form. `lambda' is now a macro that wraps itself in a `function' form. this means that (lambda (x) (+ x x)) evaluates to (function (lambda (x) (+ x x))), which is what would be read if you typed #'(lambda (x) (+ x x)), so you can omit the #' from `lambda' forms with no visible effects in normal code. #\Erik -- if you think this year is "97", _you_ are not "year 2000 compliant". see http://www.naggum.no/emacs/ for Emacs-20-related material.