@@ -99,7 +99,7 @@ p_matchGroup' placer render style MG {..} = do
9999 Case -> id
100100 LambdaCase -> id
101101 _ -> dontUseBraces
102− -- NOTE since we are forcing braces on 'sepSemi' based on 'ob', we have to
102+ -- Since we are forcing braces on 'sepSemi' based on 'ob', we have to
103103 -- restore the brace state inside the sepsemi.
104104 ub <- bool dontUseBraces useBraces <$> canUseBraces
105105 ob $ sepSemi (located' (ub . p_Match)) (unLoc mg_alts)
@@ -168,8 +168,8 @@ p_match' ::
168168 GRHSs GhcPs (Located body) ->
169169 R ()
170170p_match' placer render style isInfix strictness m_pats GRHSs {..} = do
171− -- NOTE Normally, since patterns may be placed in a multi-line layout, it
172− -- is necessary to bump indentation for the pattern group so it's more
171+ -- Normally, since patterns may be placed in a multi-line layout, it is
172+ -- necessary to bump indentation for the pattern group so it's more
173173 -- indented than function name. This in turn means that indentation for
174174 -- the body should also be bumped. Normally this would mean that bodies
175175 -- would start with two indentation steps applied, which is ugly, so we
@@ -391,14 +391,14 @@ p_stmt' placer render = \case
391391 space
392392 sitcc $ located binds p_hsLocalBinds
393393 ParStmt {} ->
394− -- NOTE 'ParStmt' should always be eliminated in 'gatherStmt' already,
395− -- such that it never occurs in 'p_stmt''. Consequently, handling it
396− -- here would be redundant.
394+ -- 'ParStmt' should always be eliminated in 'gatherStmt' already, such
395+ -- that it never occurs in 'p_stmt''. Consequently, handling it here
396+ -- would be redundant.
397397 notImplemented "ParStmt"
398398 TransStmt {..} ->
399− -- NOTE 'TransStmt' only needs to account for render printing itself,
400− -- since pretty printing of relevant statements (e.g., in 'trS_stmts')
401− -- is handled through 'gatherStmt'.
399+ -- 'TransStmt' only needs to account for render printing itself, since
400+ -- pretty printing of relevant statements (e.g., in 'trS_stmts') is
401+ -- handled through 'gatherStmt'.
402402 case (trS_form, trS_by) of
403403 (ThenForm, Nothing) -> do
404404 txt "then"
@@ -458,7 +458,7 @@ p_hsLocalBinds = \case
458458 markInit [] = []
459459 markInit [x] = [(False, x)]
460460 markInit (x : xs) = (True, x) : markInit xs
461− -- NOTE When in a single-line layout, there is a chance that the inner
461+ -- When in a single-line layout, there is a chance that the inner
462462 -- elements will also contain semicolons and they will confuse the
463463 -- parser. so we request braces around every element except the last.
464464 br <- layoutToBraces <$> getLayout
@@ -1016,8 +1016,8 @@ p_hsSplice = \case
10161016 txt "["
10171017 p_rdrName (L srcSpan quoterName)
10181018 txt "|"
1019− -- NOTE QuasiQuoters often rely on precise custom strings. We cannot do
1020− -- any formatting here without potentially breaking someone's code.
1019+ -- QuasiQuoters often rely on precise custom strings. We cannot do any
1020+ -- formatting here without potentially breaking someone's code.
10211021 atom str
10221022 txt "|]"
10231023 HsSpliced {} -> notImplemented "HsSpliced"
@@ -1252,9 +1252,9 @@ p_exprOpTree ::
12521252 R ()
12531253p_exprOpTree _ s (OpNode x) = located x (p_hsExpr' s)
12541254p_exprOpTree isDollarSpecial s (OpBranch x op y) = do
1255− -- NOTE If the beginning of the first argument and the second argument
1256− -- are on the same line, and the second argument has a hanging form, use
1257− -- hanging placement.
1255+ -- If the beginning of the first argument and the second argument are on
1256+ -- the same line, and the second argument has a hanging form, use hanging
1257+ -- placement.
12581258 let placement =
12591259 if isOneLineSpan
12601260 (mkSrcSpan (srcSpanStart (opTreeLoc x)) (srcSpanStart (opTreeLoc y)))