[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maplist and lists



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