New EEP draft: Pinning operator ^ in patterns
Fri Jan 22 15:54:36 CET 2021
This one is interesting.
On Fri, Jan 22, 2021, 8:16 PM Richard Carlsson <carlsson.richard@REDACTED>
> Den fre 22 jan. 2021 kl 15:33 skrev Richard Carlsson <
>> The other thing would be that you could no longer move around a fun or
>> list comprehension to a different location and expect it to keep working as
>> before - and I think that particularly for funs, this is a fundamental
>> assumption with most people, even if they don't use shadowing today.
> I should add that for some people generating Erlang code automatically,
> this would be a total blocker, because they often rely on this assumption
> that each fun creates a new local scope in itself for the variables in the
> head, and thus you can insert it anywhere. Also several macros out there
> rely on this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions