unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* seq-mapn and circular lists
@ 2016-12-14 22:19 Plamen Tanovski
  2016-12-14 23:32 ` John Mastro
  0 siblings, 1 reply; 5+ messages in thread
From: Plamen Tanovski @ 2016-12-14 22:19 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-15  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-14 22:19 seq-mapn and circular lists Plamen Tanovski
2016-12-14 23:32 ` John Mastro
2016-12-14 23:57   ` Michael Heerdegen
2016-12-15  9:26     ` Nicolas Petton
2016-12-15  9:33       ` Nicolas Petton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).