[erlang-questions] Finding records in List

Matthias Lang <>
Thu Jan 13 11:16:50 CET 2011


On Thursday, January 13, Arnaud GARCIA wrote:

> I would like to find all records matching criterion/criteria in a list of
> records.
> if you have one criteria, you can use:

Take a look at lists:filter()

(List comprehensions will also do what you want, but if you're just
starting out, take a look at lists:filter() first)

Matt


More information about the erlang-questions mailing list