summaryrefslogtreecommitdiff
path: root/compiler/coreSyn/CoreSyn.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-12-19 13:52:06 +0100
committerGabor Greif <ggreif@gmail.com>2017-12-19 14:35:03 +0100
commita100763cc5c6c9736a00ca57b2ec3c721311eecb (patch)
treede71d4f3c962713260557b63bb3a1f3688ac03ad /compiler/coreSyn/CoreSyn.hs
parent244d1441bbe9a8d5e83015c749d1339b8f7c7319 (diff)
downloadhaskell-a100763cc5c6c9736a00ca57b2ec3c721311eecb.tar.gz
Get rid of some stuttering in comments and docs
Diffstat (limited to 'compiler/coreSyn/CoreSyn.hs')
-rw-r--r--compiler/coreSyn/CoreSyn.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/coreSyn/CoreSyn.hs b/compiler/coreSyn/CoreSyn.hs
index 1462aefb01..9b9d20defa 100644
--- a/compiler/coreSyn/CoreSyn.hs
+++ b/compiler/coreSyn/CoreSyn.hs
@@ -859,7 +859,7 @@ data TickishScoping =
-- | Soft scoping: We want all code that is covered to stay
-- covered. Note that this scope type does not forbid
- -- transformations from happening, as as long as all results of
+ -- transformations from happening, as long as all results of
-- the transformations are still covered by this tick or a copy of
-- it. For example
--
@@ -2024,7 +2024,7 @@ collectNBinders orig_n orig_expr
go n bs (Lam b e) = go (n-1) (b:bs) e
go _ _ _ = pprPanic "collectNBinders" $ int orig_n
--- | Takes a nested application expression and returns the the function
+-- | Takes a nested application expression and returns the function
-- being applied and the arguments to which it is applied
collectArgs :: Expr b -> (Expr b, [Arg b])
collectArgs expr
@@ -2127,7 +2127,7 @@ data AnnBind bndr annot
= AnnNonRec bndr (AnnExpr bndr annot)
| AnnRec [(bndr, AnnExpr bndr annot)]
--- | Takes a nested application expression and returns the the function
+-- | Takes a nested application expression and returns the function
-- being applied and the arguments to which it is applied
collectAnnArgs :: AnnExpr b a -> (AnnExpr b a, [AnnExpr b a])
collectAnnArgs expr