Why am I getting a syntax error before: '{'?
While playing with Erlang it starts working I ran into a fancy syntax error in a trivial use case (simple map initialization). Are there any suggestions why this is happening?
1>
#{ "key" => 42}.
- 1: syntax error before: '{'
Details: Erlang R16B03 (erts-5.10.4), Eshell V5.10.4.
+3
source to share