[erlang-questions] Improve errors for maps

Anthony Ramine <>
Fri Feb 27 18:57:17 CET 2015


Le 27 févr. 2015 à 18:48, José Valim <> a écrit :

> 
> My relocation is that we already decided on this format? Pretty much precisely as you described it. It could just be long term deja vu on my part though.
> 
> Yes, James later pointed out I sent a very similar e-mail about 1 year ago.  :(
> 
> Is it your way of saying, "do it already" ? =D 
> 
> It was not my intention but it would be awesome to have it indeed!

Could we some day start a discussion on the state of error reasons in Erlang/OTP?

Some things are very clueless like discrepancies between the shell and compiled code ([ X || X <- [1], _ = foo ]), non-obvious discrepancies between some filters (replace _ = foo by just foo in previous example) or even plain useless error reasons like {badrecord,foo}.

Could that be gradually improved on a large timescale?



More information about the erlang-questions mailing list