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

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

Re: I'd like to marry while and mapcar...


From: Joost Kremers
Subject: Re: I'd like to marry while and mapcar...
Date: 6 Feb 2015 17:47:08 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

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                                   address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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