[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
maplist and lists
- To: firstname.lastname@example.org, email@example.com
- Subject: maplist and lists
- From: David C. Plummer <DCP@QUABBIN.SCRC.Symbolics.COM>
- Date: Tue, 6 Jan 87 11:35 EST
- In-reply-to: <870106110759.5.MILLER@CASHEW.CS.ROCHESTER.EDU>
Date: Tue, 6 Jan 87 11:07 EST
From: Brad Miller <miller@ACORN.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.
(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.
What do you want
(maplist #'list '(1 2 3 . 4) '(a b . c) '(x y z w q r s))
to return, and why? What I'm asking for is your "well defined"