[commit: base] ghc-7.6: Update haddock now that we can derive Generic1 (FIX #7444) (066fb9e)
Ian Lynagh
igloo at earth.li
Thu Nov 29 16:17:41 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/066fb9edecb3f293dbab36b87317100722a3c57c
>---------------------------------------------------------------
commit 066fb9edecb3f293dbab36b87317100722a3c57c
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 fe86600..4b692b5 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -163,7 +163,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