June 2018
Intermediate to advanced
316 pages
6h 34m
English
A typeclass is a specification that defines some behavior that can be implemented for any class. It doesn't relate to inheritance or any other concept of object-oriented programming. You can consider typeclasses as object wrappers.
There are no typeclasses in the current version of Kotlin. But the Arrow library (http://arrow-kt.io) brings the most popular data types, typeclasses, and abstractions from functional programming to the world of Kotlin.
Read now
Unlock full access