Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
clavigne
on July 9, 2021
|
parent
|
context
|
favorite
| on:
Functools – The Power of Higher-Order Functions in...
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.
toxik
on July 9, 2021
[–]
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:
https://github.com/santinic/pampy
Clearly it's possible. It's also more ergonomic than PEP 622.