[erlang-questions] maps and lager: how to handle new type gracefully?

Max Lapshin max.lapshin@REDACTED
Tue Apr 29 14:17:53 CEST 2014


On Tue, Apr 29, 2014 at 4:09 PM, Loïc Hoguin <essen@REDACTED> wrote:

> If you use the fully qualified erlang:is_map(Var) and map:to_list(Var) you
> can easily handle maps in a backward compatible way.
>
>
But   erlang:is_map(Var)  will fail on R16 with undef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140429/542676ab/attachment.htm>


More information about the erlang-questions mailing list