Re: New EEP draft: Pinning operator ^ in patterns
Richard Carlsson <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CANKG3zkQxV7FVpTL=WrSuWrMWZ2N3m58s1znhriV2ORn-vkKug@mail.gmail.com> |
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