python-typing-koans icon indicating copy to clipboard operation
python-typing-koans copied to clipboard

`dry-python` koans: `returns` and `classes`

Open sobolevn opened this issue 4 years ago • 1 comments

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 🙂

sobolevn avatar Jul 16 '21 12:07 sobolevn

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. 👍🏾

kracekumar avatar Jul 21 '21 17:07 kracekumar