3 ms·
> Type classes: https://kotlinlang.org/docs/reference/sealed-classes.html https://kotlinlang.org/docs/reference/sealed-classes.html Sealed classes are an odd/w
by masklinn 10y ago
> Type classes: https://kotlinlang.org/docs/reference/sealed-classes.html https://kotlinlang.org/docs/reference/sealed-classes.html
Sealed classes are an odd/wonky take on sum types, they're not even remotely close to type classes.