[erlang-questions] [erlang-question][maps][comprehension]

Sachin Panemangalore spanemangalore@REDACTED
Wed Jun 22 21:22:22 CEST 2016


Hi
A question on comprehension in erlang in general.

[{X,Y} || X<-[1,2,3], Y<-[a,b,c]].   works

but

#{X=>Y || X<-[1,2,3], Y<-[a,b,c] }  does not

any specific reason why this was not implemented ( since Erlang is relative
mature my guess is its a design choice by the creators of Erlang ).


Regards

sachin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160622/1c8ed5aa/attachment.htm>


More information about the erlang-questions mailing list