Re: New EEP draft: Pinning operator ^ in patterns

Nalin Ranjan <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CACE+zkJ9TeHPST9h+PCFqjn=F-CPs5ehaNOcCS2KpVHtK3Am9A@mail.gmail.com>
This one is interesting.

नमस्ते।
नलिन रंजन

On Fri, Jan 22, 2021, 8:16 PM Richard Carlsson <[email protected]>
wrote:

> Den fre 22 jan. 2021 kl 15:33 skrev Richard Carlsson <
> [email protected]>:
>
>> 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.
>
>     /Richard
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.