Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

seq-mapn and circular lists

4 views
Skip to first unread message

Plamen Tanovski

unread,
Dec 14, 2016, 5:19:34 PM12/14/16
to
Hi,

while cl-map works fine on circular lists, seq-mapn just freezes

(let ((l1 '#1=(1 . #1#)))
; (map 'list #'+ '(3 4 5 7) l1)
(seq-mapn #'+ '(3 4 5 7) l1))

Making the circular list with setcdr or nconc doesn't help. Any
suggestions?

best regards
PT
0 new messages