PROPOSAL: Add instances to Data.Monoid newtype wrappers

Yitzchak Gale gale at
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.


> Others?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list