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

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

bug#58278: Add new function seq-keep


From: Lars Ingebrigtsen
Subject: bug#58278: Add new function seq-keep
Date: Tue, 04 Oct 2022 12:42:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Robert Pluim <rpluim@gmail.com> writes:

> Well, cl-mapcan applies a function to the elements of a sequence and
> discards 'nil' results. Looks pretty similar to me.

No, it concatenates the results, so the values returned by the function
has to be lists.

But, yes, if you return lists, then nil return values will "disappear".





reply via email to

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