News for hackers. Stuff that matters.
Re:Functools – The Power of Higher-Order Functions in Python by clavigne on Friday July 09, 2021 @07:43AM (#27782658)
Here is pattern matching as a library that is not built using statements,

https://github.com/santinic/pampy

Clearly it's possible. It's also more ergonomic than PEP 622.

Re:Functools – The Power of Higher-Order Functions in Python by toxik on Friday July 09, 2021 @09:52AM (#27783653)
Interesting idea, though falls short of FP matching again. The syntax we actually have does a lot more.