Proposal: derive Typeable for Data.Monoid types

Herbert Valerio Riedel hvr at gnu.org
Tue May 27 08:36:46 UTC 2014


On 2014-05-27 at 08:31:14 +0200, Roman Cheplyaka wrote:
> I was surprised to find out that wrappers like Last do not have Typeable
> instances. Let's add them.

Fyi, Data.Monoid has been given a `{-# LANGUAGE AutoDeriveTypeable #-}`
in

  http://git.haskell.org/ghc.git/commitdiff/1d1ff77aaa09efaddc8cfe0dcf92d6763297cf11

which should take care of not forgetting a 'deriving Typeable' in the
future for any new entities defined in Data.Monoid.


More information about the Libraries mailing list