Ron Garret <ron@flownet.com> wrote:
+---------------
| "Thomas F. Burdick" <tburd...@gmail.com> wrote:
| > Mapcar and friends *don't* have to signal an error when given an
| > improper list
|
| Maybe not, but I've never encountered a CL implementation that didn't.
+---------------
Let me introduce you to one:
$ cmucl
...[chatter]...
cmucl> (mapcar #'+ '(1 2 3) '#1=(100 . #1#) '(10 20 30 40 . 50))
(111 122 133)
cmucl>
And another:
$ clisp -q
[1]> (mapcar #'+ '(1 2 3) '#1=(100 . #1#) '(10 20 30 40 . 50))
(111 122 133)
[2]>
And another:
$ telnet prompt.franz.com
...[chatter]...
This development copy of Allegro CL is licensed to:
QA
...[chatter]...
CL-USER(1): (mapcar #'+ '(1 2 3) '#1=(100 . #1#) '(10 20 30 40 . 50))
(111 122 133)
CL-USER(2):
Now you've encountered three!! ;-}
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607