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 14:54:05 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

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:

https://github.com/magnars/dash.el


-- 
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]