Table of Contents

Type classes and its instances, and the deriving mechanism

Deriving mechanism

Looking to the examples above you may wonder, whether there an easier way to implement an instance of standard type classes. Yes, there is the deriving mechanism.

Advanced type classes