I installed Erlang on my Mac (OS X) and my Ubuntu 14.04 pc. Trying to create a map works on the Mac but the exact same code yields an error on my Ubuntu pc. I have tried it on one other computer and it worked there as well. This is the code:
Map = #{"hi" => 42} .
It's the sample code from here. On my Ubuntu install it says syntax error before {
.
Could it be some kind of problem with my version of Erlang? I installed it from aptitude. When I start it, it says "Eshell V5.10.4".
It is the same if I write the code in a file and try to compile it from the shell.