[erlang-questions] How to return first {Key, Value} from Map where Predicate is true

Imants Cekusins imantc@REDACTED
Thu Jan 8 19:24:11 CET 2015


Cheers Fred! Yep, this is an option. Some folks warn against using try
& catch though.

Great book btw :)


Egil, is Accessing a single value

V = M#{ K }.

http://www.erlang.org/eeps/eep-0043.html

on TODO list, too? Would be so handy.



More information about the erlang-questions mailing list