[erlang-questions] maps API

Benoit Chesneau bchesneau@REDACTED
Fri Dec 4 06:04:23 CET 2015


What is the reasoning of throwing an error on `maps:get/2` instead of
returning `undefined`? And instead have `maps:find/2`.  I am curious. I
would have expected that get like a proplists would return a default set to
undefined.

- benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151204/a0c6b01b/attachment.htm>


More information about the erlang-questions mailing list