I got the chance to come by a pretty cool project recently: Python Moka. It consists of functional programming friendly implementations of standard Python dictionary and list classes. Then it struck me: wouldn't be nice to have Erlang-ish pattern matching functionality to Python?
So I crafted a small Python package scratching an itch I have had for way too long: function dispatching based on pattern matching. For those interested, here are the relevant links:
- Project on Github
- Main page on Systemical
Feedback welcome :)
No comments:
Post a Comment