erlang - Why do I get syntax error before: '{'? -
while playing erlang getting started section have met bizarre syntax error on trivial use case (simple map initialization). there suggestion why happen?
1>
#{ "key" => 42}.
- 1: syntax error before: '{'
details: erlang r16b03 (erts-5.10.4), eshell v5.10.4.
because maps introduced in erlang 17.
you have upgrade installation or not use maps.
Comments
Post a Comment