[erlang-questions] Matching Empty maps

zxq9 <>
Tue Feb 7 12:52:38 CET 2017


On 2017年2月7日 火曜日 12:45:15 Joe Armstrong wrote:
> Is there some deep reason for this that I've missed ??????

A few places exist where slick syntax is mistaken for actual values.
That always leads to a weird place.

That is one reason that I generally avoid using the special map syntax
over the functional interface to maps with the exception of explicit
unification matches. (Which still can't do everything I wish they
could, but I assume that is coming since everyone feels the same way
about that stuff.)

-Craig


More information about the erlang-questions mailing list