[commit: ghc] master: Typo in comment (c97f853)
git at git.haskell.org
git at git.haskell.org
Thu Jul 31 16:58:46 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c97f8533e740672b336bf26e102a2ee483b3c9a8/ghc
>---------------------------------------------------------------
commit c97f8533e740672b336bf26e102a2ee483b3c9a8
Author: Gabor Greif <ggreif at gmail.com>
Date: Thu Jul 31 18:56:50 2014 +0200
Typo in comment
>---------------------------------------------------------------
c97f8533e740672b336bf26e102a2ee483b3c9a8
compiler/types/TyCon.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/types/TyCon.lhs b/compiler/types/TyCon.lhs
index a500a62..65b5645 100644
--- a/compiler/types/TyCon.lhs
+++ b/compiler/types/TyCon.lhs
@@ -728,7 +728,7 @@ which encodes as (TyConApp instCoercionTyCon [TyConApp CoT [], s])
Note [Newtype eta]
~~~~~~~~~~~~~~~~~~
Consider
- newtype Parser a = MkParser (IO a) derriving( Monad )
+ newtype Parser a = MkParser (IO a) deriving Monad
Are these two types equal (to Core)?
Monad Parser
Monad IO
More information about the ghc-commits
mailing list