[erlang-bugs] Missing comma between maps results in merge

Pierre Fenoll pierrefenoll@REDACTED
Mon Jul 7 14:52:26 CEST 2014


I believe there are 2 ways to inhibit this behavior:
• Change the behavior of the merge of maps/records literals (non backwards compatible)
• introduce a new maps/records syntax that is not prefix (backwards compatible)

Using a non-prefix syntax for maps and records would single-handedly allow for making .,; separators redundant and thus optional. 

> On 07 Jul 2014, at 12:32, José Valim <jose.valim@REDACTED> wrote:
> 
> FWIW, I don't see the automatic maps merge behaviour being useful to justify itself or even the possible confusion it may cause.



More information about the erlang-bugs mailing list