[erlang-questions] R17 maps and accessor syntax
Björn-Egil Dahlberg
wallentin.dahlberg@REDACTED
Sun Feb 2 01:33:33 CET 2014
Single value access is not implemented so that won't work.
// Björn-Egil
2014-02-02 Rudolph van Graan <rvg.mailing@REDACTED>:
> Hi,
>
> EEP43 says:
>
> For accessing single values in maps, let us use an de-association:
>
> V = M#{ K }.
>
> 11> B = #{key1 => 124, key2 => 111, key3 => 444}.
> #{key1 => 124,key2 => 111,key3 => 444}
>
> 12> B#{ key1 }.
> * 1: syntax error before: '}'
>
> Am I doing something wrong?
>
>
> R
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140202/2cfc4560/attachment.htm>
More information about the erlang-questions
mailing list