Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Interesting idea, though falls short of FP matching again. The syntax we actually have does a lot more.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: