[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
maplist and lists
- To: common-lisp@sail.stanford.edu
- Subject: maplist and lists
- From: Brad Miller <miller@ACORN.CS.ROCHESTER.EDU>
- Date: Tue, 6 Jan 87 11:07 EST
- Cc: miller@ACORN.CS.ROCHESTER.EDU
- Organization: University of Rochester, Department of Computer Science
- Phone: 716-275-7747
- Postal-address: 617 Hylan Building, University of Rochester, Rochester NY 14627
- Reply-to: miller@cs.rochester.edu
- Sender: miller@cs.rochester.edu
Is there a particular motivation for not having maplist work on dotted lists?
It seems to me to be well defined (and useful) to do so, but CLtL states that
functions described as taking lists as arguments only really take true lists.
For example
(maplist #'(lambda (x) x) '(a b . c))
((a b . c) (b . c) c)
I'd like to see the definition extended to require maplist to take true and
dotted lists.... This is an upward compatible extension.
Brad Miller
------
miller@cs.rochester.edu
miller@acorn.cs.rochester.edu
miller@rochester.arpa