[commit: template-haskell] master: some more typos (0b8e8c0)

Gabor Greif ggreif at gmail.com
Sat Feb 2 04:01:30 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/template-haskell

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/0b8e8c027296580c6b512e52e12af3aa8f76546f

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

commit 0b8e8c027296580c6b512e52e12af3aa8f76546f
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sat Feb 2 03:45:50 2013 +0100

    some more typos

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

 Language/Haskell/TH/Ppr.hs    |    2 +-
 Language/Haskell/TH/Syntax.hs |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Language/Haskell/TH/Ppr.hs b/Language/Haskell/TH/Ppr.hs
index b9105d5..99f0564 100644
--- a/Language/Haskell/TH/Ppr.hs
+++ b/Language/Haskell/TH/Ppr.hs
@@ -52,7 +52,7 @@ instance Ppr Info where
     ppr (PrimTyConI name arity is_unlifted) 
       = text "Primitive"
 	<+> (if is_unlifted then text "unlifted" else empty)
-	<+> text "type construtor" <+> quotes (ppr name)
+	<+> text "type constructor" <+> quotes (ppr name)
 	<+> parens (text "arity" <+> int arity)
     ppr (ClassOpI v ty cls fix) 
       = text "Class op from" <+> ppr cls <> colon <+>
diff --git a/Language/Haskell/TH/Syntax.hs b/Language/Haskell/TH/Syntax.hs
index 91b1a7d..625ee50 100644
--- a/Language/Haskell/TH/Syntax.hs
+++ b/Language/Haskell/TH/Syntax.hs
@@ -1286,7 +1286,7 @@ type Kind = Type
 Haskell has a rich concrete syntax for types, including
   t1 -> t2, (t1,t2), [t], and so on
 In TH we represent all of this using AppT, with a distinguished
-type construtor at the head.  So,
+type constructor at the head.  So,
   Type              TH representation
   -----------------------------------------------
   t1 -> t2          ArrowT `AppT` t2 `AppT` t2





More information about the ghc-commits mailing list