summaryrefslogtreecommitdiff
path: root/libraries/template-haskell
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-04 10:49:51 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-05 15:27:05 +0200
commit577f3da7b81920c427c394871c86a523627e14e9 (patch)
tree955cceaab5020990725284b1aff2c26d5aab7191 /libraries/template-haskell
parentce9b6170b0ac9ff417000d8e7bdff7b2298f2978 (diff)
downloadhaskell-577f3da7b81920c427c394871c86a523627e14e9.tar.gz
Typos in comments [ci skip]
Diffstat (limited to 'libraries/template-haskell')
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Ppr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/template-haskell/Language/Haskell/TH/Ppr.hs b/libraries/template-haskell/Language/Haskell/TH/Ppr.hs
index 78c6080bb0..a851a22e06 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Ppr.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Ppr.hs
@@ -150,7 +150,7 @@ pprExp i (LamCaseE ms) = parensIf (i > noPrec)
pprExp _ (TupE es) = parens (commaSep es)
pprExp _ (UnboxedTupE es) = hashParens (commaSep es)
pprExp _ (UnboxedSumE e alt arity) = unboxedSumBars (ppr e) alt arity
--- Nesting in Cond is to avoid potential problems in do statments
+-- Nesting in Cond is to avoid potential problems in do statements
pprExp i (CondE guard true false)
= parensIf (i > noPrec) $ sep [text "if" <+> ppr guard,
nest 1 $ text "then" <+> ppr true,