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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -