help-gnu-emacs
[Top][All Lists]
Advanced

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

seq-mapn and circular lists


From: Plamen Tanovski
Subject: seq-mapn and circular lists
Date: Wed, 14 Dec 2016 23:19:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]