one-liner-0.5: Constraint-based generics
Write short and concise generic instances of type classes.
There are two separate parts: Generics.OneLiner
is for
writing generic functions using GHC.Generics
.
The other modules show how to implement these same generic
functions with a traversal-style generics type class,
without the use of an intermediate generic representation
type.