Datatype Generics via Generics-Rep

If you’ve ever wanted to work with information about your data types in terms of generic types and representations that can be converted to and from, this is exactly what you’ve been looking for:

Here is a tutorial on Generics-Rep in the Simple-JSON docs:

For much more detailed information, refer to the GHC User guide and the Haskell generic-deriving library docs