Subject: Re: gcl quirks
From: Erik Naggum <clerik@naggum.no>
Date: 1998/01/23
Newsgroups: comp.lang.lisp
Message-ID: <3094509102321161@naggum.no>


* Sam Steingold
| in gcl 2.2.2 on linux:
| 
| (functionp 'cdr) ==> T
|   Well, 'cdr is funcallable, but a function...

  GCL does not purport to conform to ANSI X3.226 Common Lisp, so you will
  find many such problems.  one must judge conformance according to the
  document/standard to which conformance is purported.

| Interesting. Will I have to add #' in front of all my lambdas or is
| there an easier way?

  of course.  LAMBDA is just a macro.  this suggested implementation is
  taken directly from the HyperSpec/standard:

(defmacro lambda (&whole form &rest bvl-decls-and-body)
  (declare (ignore bvl-decls-and-body))
  `#',form)

#:Erik
-- 
The year "98" was new 1900 years ago.  |  Help fight MULE in GNU Emacs 20!
Be year 2000 compliant, write "1998"!  |  http://sourcery.naggum.no/emacs/