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

Björn-Egil wallentin.dahlberg@REDACTED
Thu Jan 8 19:38:29 CET 2015

If it's on there it's below the horizon atm.
We, or perhaps I, have some issue with it's syntax and also it's function. I would rather see syntax and design for functor/lenses. It would be more useful. That is not in scope of the current maps implementation though.

// egil
Sent from my iPhone

> 8 jan 2015 kl. 19:24 skrev Imants Cekusins <imantc@REDACTED>:
> 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.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list