Re: Pattern Matching in Python

2021-02-11 Thread Gavin Bierman
>> wrote: Hi all, in the news, Python have been accepted the PEP 642, Pattern Matching in Python [1]. The accepted PEP is https://www.python.org/dev/peps/pep-0642/ And the rational is https://www.python.org/dev/peps/pep-0635/ Compared to us, - bindings are visually like variables not a special k

Re: Pattern Matching in Python

2021-02-11 Thread Brian Goetz
Overall a good read, and a nice window into the problems they view as most worth solving (in their world.)  I think they did a good job in integrating this into the Python view of the world. I'll note that the vision of pattern matching we've taken on is somewhat more ambitious -- treating

Pattern Matching in Python

2021-02-11 Thread Remi Forax
Hi all, in the news, Python have been accepted the PEP 642, Pattern Matching in Python [1]. The accepted PEP is https://www.python.org/dev/peps/pep-0642/ And the rational is https://www.python.org/dev/peps/pep-0635/ Compared to us, - bindings are visually like variables not a special keyword