Skip to content

Generics instances for monoid and applicative newtypes

Hi,

Is there any particular reason why there aren't Generic instances for the newtypes under Data.Monoid and Control.Applicative (for example)?

I've tried adding them to GHC/Generics.hs and base compiles without problems.

Could this addition be considered? Best Regards, João

Trac metadata
Trac field Value
Version 7.6.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information