run codespell throughout fixing typos automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
This commit is contained in:
parent
aa9f9333ea
commit
87e2ae2014
31 changed files with 47 additions and 47 deletions
|
@ -253,7 +253,7 @@ describeMatchResult descop l prefix = Just $
|
|||
go (MatchedOpen:rest) = "(" : go rest
|
||||
go (MatchedClose:rest) = ")" : go rest
|
||||
|
||||
-- Remove unncessary outermost parens
|
||||
-- Remove unnecessary outermost parens
|
||||
simplify True (MatchedOpen:rest) = case lastMaybe rest of
|
||||
Just MatchedClose -> simplify False (dropFromEnd 1 rest)
|
||||
_ -> simplify False rest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue