[commit: packages/base] master: Typo in documentation (3b2a53b)
git at git.haskell.org
git
Mon Oct 7 20:40:28 UTC 2013
Repository : ssh://git at git.haskell.org/base
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3b2a53b8af883c131ec3c7206216ed3d112fdca0/base
>---------------------------------------------------------------
commit 3b2a53b8af883c131ec3c7206216ed3d112fdca0
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date: Mon Oct 7 21:36:15 2013 +0100
Typo in documentation
>---------------------------------------------------------------
3b2a53b8af883c131ec3c7206216ed3d112fdca0
GHC/Generics.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GHC/Generics.hs b/GHC/Generics.hs
index 0b344c5..4cc5dc0 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -62,7 +62,7 @@ module GHC.Generics (
-- causes the following representation to be generated:
--
-- @
--- class 'Generic' (Tree a) where
+-- instance 'Generic' (Tree a) where
-- type 'Rep' (Tree a) =
-- 'D1' D1Tree
-- ('C1' C1_0Tree
@@ -448,7 +448,7 @@ module GHC.Generics (
--
-- The above declaration causes the following representation to be generated:
--
--- class 'Generic1' Tree where
+-- instance 'Generic1' Tree where
-- type 'Rep1' Tree =
-- 'D1' D1Tree
-- ('C1' C1_0Tree
More information about the ghc-commits
mailing list