AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of Comparing Type Classes
To compare two objects, you have to have a type class available. It's not actually doing a transformation at all. All that it's doing is telling the compiler,. Here is the thing that fills that type class whole and now you are allowed to compare these things. And that's why it's important that it happens at compile time.