summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2013-02-02 03:45:50 +0100
committerGabor Greif <ggreif@gmail.com>2013-02-02 03:45:50 +0100
commitc7751c47f28612de9ac4e672ca769b0ff4b087b7 (patch)
tree60254b2b19fd71576c1765d726ff9af721047883
parent73730c564e79f96a6ff605601d20c8ccf13a89a9 (diff)
downloadhaskell-c7751c47f28612de9ac4e672ca769b0ff4b087b7.tar.gz
some more typos
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Ppr.hs2
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Syntax.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/template-haskell/Language/Haskell/TH/Ppr.hs b/libraries/template-haskell/Language/Haskell/TH/Ppr.hs
index b9105d5f1f..99f05643f0 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Ppr.hs
+++ b/libraries/template-haskell/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/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
index 91b1a7d8e5..625ee5020e 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+++ b/libraries/template-haskell/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