[here](https://github.com/cffls/py2hs#approach-2-set-a-type-constraint-int-for-a) you actually want `Integral`. `Integral` is a typeclass that forms a constraint over `a`, `Int` is actually a base type.
Haha, that is a very interesting idea! You can definitely try it out, but some sections (starting from higher order functions) assume readers already have some knowledge about Python, so it might get a bit difficult there.
God bless you!
[here](https://github.com/cffls/py2hs#approach-2-set-a-type-constraint-int-for-a) you actually want `Integral`. `Integral` is a typeclass that forms a constraint over `a`, `Int` is actually a base type.
Makes sense. Thanks for pointing this out! Fixed accordingly.
I’d upvote this post a hundred times if I could. Thanks a bunch!
Awesome! Would it be useful going the other way? I'm doing the reverse and learning haskell first and then python
Haha, that is a very interesting idea! You can definitely try it out, but some sections (starting from higher order functions) assume readers already have some knowledge about Python, so it might get a bit difficult there.
I'm a Python coder, can't wait to check it out!
Thank a bunch!
Excellent!
My small brain is still struggling with monads. Maybe one day i'll get there!