Subject: Re: Returning Functions
From: Erik Naggum <>
Date: 1997/10/06
Newsgroups: comp.lang.lisp
Message-ID: <>

* Barry Perryman
| Ok I'm still learning lisp, but why is the later incorrect?

sigh.  #'(lambda ...) is not _incorrect_.  (where did you get that idea?)

the following three forms have _identical_ semantics in contexts where a
function object is expected.  some Lisp programmers think one of them is
better than the others.  which one they think is better varies according to
the personal taste of each one.  I prefer the former.

    (lambda (x) (+ x x))
    #'(lambda (x) (+ x x))
    (function (lambda (x) (+ x x)))

if you think this year is "97", _you_ are not "year 2000 compliant".

see for Emacs-20-related material.