João Cristóvão | 19 Feb 16:39 2014

[ANN] data-default-generics


This project is a fork of the well known data-default package, since the original author does not seem to be reachable, and has not accepted a rather useful patch in the past.

It mainly adds:

* Regrouped everything into a single module
* Added several instances, namely Either, Text, ByteString, etc
* Added Generics support patch by Jonathan Fischoff, with some additional support for recursive datatypes by me, with the precious help of José Pedro Magalhães

This last point means that you can easily defined a default value for a record.


If this is a duplicate effort, or a better alternative exists, please let me know.

If not, I will soon publish it to hackage as 'official'.

Haskell-Cafe mailing list
Haskell-Cafe <at>