3 ms·
Here is pattern matching as a library that is not built using statements, https://github.com/santinic/pampy https://github.com/santinic/pampy Clearly it's pos
by clavigne 5y ago
Here is pattern matching as a library that is not built using statements,
https://github.com/santinic/pampy https://github.com/santinic/pampy
Clearly it's possible. It's also more ergonomic than PEP 622.
- toxik 5y agoInteresting idea, though falls short of FP matching again. The syntax we actually have does a lot more.