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

[ANN] data-default-generics

Hi,

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.

See:

https://github.com/jcristovao/data-default-generics

http://hackage.haskell.org/package/data-default-generics-0.3/candidate

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'.

Thanks,
João
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Gmane