Typeclasses are all about polymorphism. Achieving it at a program level provides much benefits, but it’s an abstract concept that probably requires a step by step explanation.
Lately I’ve found some people willing to understand. It’s mostly people that is not very familiarized with Functional Programming yet, so I decided to write a tutorial in the most simplistic way to provide gradual learning.
It started as a Medium post, then I deleted it and ported it to Arrow docs patterns section, since that’s probably where it belongs and where it will provide more value.
I hope these new docs are useful enough. One of the main goals we have in the Arrow team and 47 Degrees is to flat the learning curve as much as possible by providing useful step by step docs based on example. So all the feedback will be super useful for us.
Remember that if you’re interested on Functional Programming, Arrow, Kotlin, Android development or anything related, don’t hesitate to follow me on Twitter, where I share a lot of ideas about it.
Of course, there’s also the official arrow-kt account, where the Arrow team makes all the announcements.
Want to support me?
If you reached this point you might consider supporting me for boosting my will to write. If that’s the case, here you have a button, really appreciated! 🤗
Supported or not, I will keep writing and providing content for free ✅
Some interesting links
Do not miss the Arrow official Typeclass docs for more details.