Mark Carroll writes:
| Does anyone know of any Haskell texts that introduce 'deriving'
| fairly comprehensively?
Appendix D of the Haskell 98 report gives the basic standard.
Have a look at this extension too.
http://research.microsoft.com/Users/simonpj/Papers/derive.htm