[commit: base] master: Update haddock now that we can derive Generic1 (FIX #7444) (ec8d149)
José Pedro Magalhães
jpm at cs.uu.nl
Fri Nov 23 18:45:49 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/ec8d1495f193257d3b42ac0e67fbe0aa59101181
>---------------------------------------------------------------
commit ec8d1495f193257d3b42ac0e67fbe0aa59101181
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date: Fri Nov 23 17:45:01 2012 +0000
Update haddock now that we can derive Generic1 (FIX #7444)
>---------------------------------------------------------------
GHC/Generics.hs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/GHC/Generics.hs b/GHC/Generics.hs
index 28cf98d..5ebaa18 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -188,7 +188,8 @@ class Generic a where
to :: (Rep a) x -> a
--- | Representable types of kind * -> * (not yet derivable)
+-- | Representable types of kind * -> *.
+-- This class is derivable in GHC with the DeriveGeneric flag on.
class Generic1 f where
-- | Generic representation type
type Rep1 f :: * -> *
More information about the Cvs-libraries
mailing list