From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: I'd like to marry while and mapcar...
Date: 6 Feb 2015 17:47:08 GMT [thread overview]
Message-ID: <slrnmd9vgs.6in.joost.m.kremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: slrnmd9lcd.6in.joost.m.kremers@j.kremers4.news.arnhem.chello.nl
Joost Kremers wrote:
> Marcin Borkowski wrote:
>> Hello Emacsers and Elispers!
>>
>> What I'd need is kind of a marriage of while and mapcar: I'd like to run
>> some function until it returns nil and make a list of all results it
>> gives back until then.
>
> Sounds like a job for -take-while from the dash library:
Actually, reading the question again (and this time properly,) it's
not... I'd use cl-loop for this.
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2015-02-06 17:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.19392.1423227427.1147.help-gnu-emacs@gnu.org>
2015-02-06 14:13 ` I'd like to marry while and mapcar Pascal J. Bourguignon
2015-02-06 14:54 ` Joost Kremers
2015-02-06 17:47 ` Joost Kremers [this message]
2015-02-06 12:56 Marcin Borkowski
2015-02-06 13:18 ` Rasmus
2015-02-06 13:53 ` Marcin Borkowski
2015-02-06 14:14 ` Rasmus
2015-02-06 13:36 ` Eli Zaretskii
2015-02-06 13:50 ` Marcin Borkowski
2015-02-06 13:44 ` Doug Lewan
[not found] ` <mailman.19396.1423229779.1147.help-gnu-emacs@gnu.org>
2015-02-06 16:25 ` Barry Margolin
2015-02-06 16:52 ` Pascal J. Bourguignon
2015-02-06 22:49 ` Drew Adams
2015-02-07 21:09 ` Robert Thorpe
2015-02-07 23:37 ` Thien-Thi Nguyen
[not found] ` <mailman.19494.1423352465.1147.help-gnu-emacs@gnu.org>
2015-02-08 0:28 ` Emanuel Berg
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=slrnmd9vgs.6in.joost.m.kremers@j.kremers4.news.arnhem.chello.nl \
--to=joost.m.kremers@gmail.com \
--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).