@hackage DTC1.0.0

Data To Class.

Transform data declarations to class definitions.

The way is explained in Data Declarations to Class Definitions. You can find these notes in the homepage of the package.