[commit: ghc] master: Spelling in comment (eb483c0)
Simon Peyton Jones
simonpj at microsoft.com
Tue Jul 17 17:41:01 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/eb483c0efc7c108675fd09fa0c56cd6173559053
>---------------------------------------------------------------
commit eb483c0efc7c108675fd09fa0c56cd6173559053
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Jul 12 08:23:50 2012 +0100
Spelling in comment
>---------------------------------------------------------------
compiler/hsSyn/HsDecls.lhs | 2 +-
compiler/typecheck/TcDeriv.lhs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/hsSyn/HsDecls.lhs b/compiler/hsSyn/HsDecls.lhs
index 3908980..bac9ec6 100644
--- a/compiler/hsSyn/HsDecls.lhs
+++ b/compiler/hsSyn/HsDecls.lhs
@@ -435,7 +435,7 @@ data TyClDecl name
| -- | @type/data declaration
TyDecl { tcdLName :: Located name -- ^ Type constructor
- , tcdTyVars :: LHsTyVarBndrs name -- ^ Type variables; for an assoicated type
+ , tcdTyVars :: LHsTyVarBndrs name -- ^ Type variables; for an associated type
-- these include outer binders
-- Eg class T a where
-- type F a :: *
diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs
index 0a5d941..8d79e89 100644
--- a/compiler/typecheck/TcDeriv.lhs
+++ b/compiler/typecheck/TcDeriv.lhs
@@ -855,7 +855,7 @@ inferConstraints cls inst_tys rep_tc rep_tc_args
Note [Getting base classes]
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Functor and Typeable are define in package 'base', and that is not available
+Functor and Typeable are defined in package 'base', and that is not available
when compiling 'ghc-prim'. So we must be careful that 'deriving' for stuff in
ghc-prim does not use Functor or Typeable implicitly via these lookups.
More information about the Cvs-ghc
mailing list