[erlang-questions] Trying to learn the Erlang Way

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Fri Feb 7 22:25:31 CET 2014


On Fri, Feb 7, 2014 at 5:45 PM, kraythe . <kraythe@REDACTED> wrote:

> Now the question is the resolution of the followup question of how to
> integrate this in a solution. Do we return a list of trues and falses and
> zip that with the objects to form a candidate list? How would you do it?


Look at lists:partition/2 then write your culler so it can be given as a
predicate to partition.


-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140207/ff2d8b43/attachment.htm>


More information about the erlang-questions mailing list