A type class is an abstract, parameterized type that lets you add new behavior to any closed data type without using sub-typing . If you are coming from Java, you can think of type classes as something like java.
Read moreWhat is classes and types of classes?
Types Of Classes And Their Characteristics
Read moreWhat are type classes used for?
Type classes are a powerful tool used in functional programming to enable ad-hoc polymorphism, more commonly known as overloading .
Read moreWhat is the difference between a type and a class?
An object’s class defines how the object is implemented. The class defines object’s internal state and the implementation of its operations. In contrast, an object’s type only refers to its interface – a set of requests to which it can respond.
Read more