* Re: [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn
[not found] ` <20161215092616.07ED32201BB@vcs.savannah.gnu.org>
@ 2016-12-15 12:54 ` Stefan Monnier
2016-12-15 13:09 ` Nicolas Petton
2016-12-16 10:32 ` Nicolas Petton
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Monnier @ 2016-12-15 12:54 UTC (permalink / raw)
To: emacs-devel; +Cc: Nicolas Petton
> - (sequences (seq-map (lambda (s) (seq-into s 'list))
> + (sequences (seq-map (lambda (s)
> + (if (listp s)
> + s
> + (seq-into s 'list)))
Shouldn't (seq-into x 'list) return x when it's a list?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn
2016-12-15 12:54 ` [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn Stefan Monnier
@ 2016-12-15 13:09 ` Nicolas Petton
2016-12-16 10:32 ` Nicolas Petton
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Petton @ 2016-12-15 13:09 UTC (permalink / raw)
To: Stefan Monnier, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 194 bytes --]
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Shouldn't (seq-into x 'list) return x when it's a list?
Yes, that'd be the best (I will do it, but I have no time right now).
Cheers,
Nico
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn
2016-12-15 12:54 ` [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn Stefan Monnier
2016-12-15 13:09 ` Nicolas Petton
@ 2016-12-16 10:32 ` Nicolas Petton
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Petton @ 2016-12-16 10:32 UTC (permalink / raw)
To: Stefan Monnier, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 172 bytes --]
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Shouldn't (seq-into x 'list) return x when it's a list?
I pushed a commit that does that (with a test).
Cheers,
Nico
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-16 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20161215092615.18434.73976@vcs.savannah.gnu.org>
[not found] ` <20161215092616.07ED32201BB@vcs.savannah.gnu.org>
2016-12-15 12:54 ` [Emacs-diffs] master 09a66ce: Fix circular list handling in seq-mapn Stefan Monnier
2016-12-15 13:09 ` Nicolas Petton
2016-12-16 10:32 ` 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.