python-typing-koans
python-typing-koans copied to clipboard
`dry-python` koans: `returns` and `classes`
My might say that dry-python/returns is one of the most typing-intensive project in Python-land.
It might be a good idea to add some expert-level koans about it. Like:
- Working with monads
- Defining your own monads
- Higher Kinded Types usage and definition: https://returns.readthedocs.io/en/latest/pages/hkt.html
- Flow based function composition: https://returns.readthedocs.io/en/latest/pages/pipeline.html
- Curring: https://returns.readthedocs.io/en/latest/pages/curry.html
classes can also be useful if one wants to work with typeclasses in Python: https://sobolevn.me/2021/06/typeclasses-in-python
I don't have the timing capacity to contribute this myself, but I would love to help 🙂
Thanks. I'll take a look at it. In the next round of koans addition, I'll consider adding these.
Thank you for writing about these and creating these fantastic libraries. 👍🏾