diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-04-04 10:49:51 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-04-05 15:27:05 +0200 |
commit | 577f3da7b81920c427c394871c86a523627e14e9 (patch) | |
tree | 955cceaab5020990725284b1aff2c26d5aab7191 /libraries/template-haskell | |
parent | ce9b6170b0ac9ff417000d8e7bdff7b2298f2978 (diff) | |
download | haskell-577f3da7b81920c427c394871c86a523627e14e9.tar.gz |
Typos in comments [ci skip]
Diffstat (limited to 'libraries/template-haskell')
-rw-r--r-- | libraries/template-haskell/Language/Haskell/TH/Ppr.hs | 2 |
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, |