Mercurial > hg > xemacs-beta
diff man/xemacs/programs.texi @ 5056:6aba0daedb7c
Add #'constantly, as specified by ANSI Common Lisp.
2010-02-22 Aidan Kehoe <kehoea@parhasard.net>
* cl-extra.el (constantly):
Add this function, from ANSI Common Lisp, using the SBCL extension
that extra arguments to it are passed back as multiple values in
the constructed function.
* cl-macs.el (constantly):
In the compiler macro for #'constantly, construct a
compiled-function object almost every time, at compile time when
all arguments are constant, and at runtime when they vary.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 22 Feb 2010 20:08:51 +0000 |
parents | 755ae5b97edb |
children | 5fd1b9a95531 |