all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.