[erlang-bugs] Map comprehension syntax

Anthony Ramine n.oxyde@REDACTED
Fri Mar 7 12:13:27 CET 2014


Yes, they are not implemented in the RCs yet.

-- 
Anthony Ramine

Le 7 mars 2014 à 03:46, Fyodor Ustinov <ufm@REDACTED> a écrit :

> Hi!
> 
> In https://github.com/erlang/eep/blob/master/eeps/eep-0043.md set the next syntax in example:
> 
> M1 = #{ I => f(I) || I <- list() }
> 
> But I was not able to execute such an instruction:
> 
> Erlang/OTP 17 [RELEASE CANDIDATE 2] [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
> 
> Eshell V6.0  (abort with ^G)
> 1> #{ I => I || I <- [1,2,3]}.
> * 1: syntax error before: '||'
> 
> Maybe maps is not fully implemented?
> 
> WBR,
>    Fyodor.
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs




More information about the erlang-bugs mailing list