[commit: ghc] master: Fix omission in haddock instance head (db5a226)

git at git.haskell.org git at git.haskell.org
Fri Aug 5 07:06:42 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/db5a22627b3e6bcc9fa17fbc070daac0919b552a/ghc

>---------------------------------------------------------------

commit db5a22627b3e6bcc9fa17fbc070daac0919b552a
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Aug 5 09:00:51 2016 +0200

    Fix omission in haddock instance head


>---------------------------------------------------------------

db5a22627b3e6bcc9fa17fbc070daac0919b552a
 libraries/ghc-prim/GHC/Types.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index fe21e41..06fc793 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -229,7 +229,7 @@ class a ~~ b
 --      Nevertheless one can pretend that the following three kinds of instances
 --      exist. First, as a trivial base-case:
 --
---      @instance a a@
+--      @instance Coercible a a@
 --
 --      Furthermore, for every type constructor there is
 --      an instance that allows to coerce under the type constructor. For



More information about the ghc-commits mailing list