From: Plamen Tanovski <pgt@arcor.de>
To: help-gnu-emacs@gnu.org
Subject: seq-mapn and circular lists
Date: Wed, 14 Dec 2016 23:19:31 +0100 [thread overview]
Message-ID: <o2sghh$1snc$1@gioia.aioe.org> (raw)
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
next reply other threads:[~2016-12-14 22:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-14 22:19 Plamen Tanovski [this message]
2016-12-14 23:32 ` seq-mapn and circular lists John Mastro
2016-12-14 23:57 ` Michael Heerdegen
2016-12-15 9:26 ` Nicolas Petton
2016-12-15 9:33 ` Nicolas Petton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='o2sghh$1snc$1@gioia.aioe.org' \
--to=pgt@arcor.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).