Generic programming.
bower install purescript-generics
The methods in the Generic type class can be derived in versions >= 0.7.3 of the PureScript compiler with the following syntax:
derive instance genericMyType :: Generic MyTypeThere are some example usages of the library in the tests.
Module documentation is published on Pursuit.