PROPOSAL: Add instances to Data.Monoid newtype wrappers

Yitzchak Gale gale at sefer.org
Thu Dec 11 16:50:27 UTC 2014


Sean Leather wrote:
> newtype wrappers in Data.Monoid...
> I would like to add Functor instances for all
> parameterized types, where applicable
> (i.e. Dual, Sum, Product).
> In general, I think we should add whatever other
> instances make sense. Data came to mind.

+1

> Others?

NFData. But that's not in base, so those instances
need to be added in the deepseq library.

-Yitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141211/d02fe7a0/attachment.html>


More information about the Libraries mailing list