Stock deriving extensions
- Using the
The Haskell report specifies that the following classes may appear in a
Show. We call these “stock” derivable classes, which means the classes and rules for deriving them are standard;
stock deriving is the standard deriving strategy for standard typeclasses.
The following GHC language extensions make additional classes stock derivable: