Chapter 4
Haskell in Depth
Section 4
Type Classes
Haskell’s primary mechanism for implementing abstract data types is the type class. We need to know about some of the common built-in type classes as well as how to implement our own type classes and type class instances. - Learn about common type classes and how to implement instances for them - Learn about type wrappers to avoid breaking type class instance rules - Learn how to write our own type classes