Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit b1a89c0

Browse files
committed
🔥 redundant parens.
1 parent 6dd5010 commit b1a89c0

File tree

1 file changed

+2
-2
lines changed
  • semantic-python/src/Language/Python

1 file changed

+2
-2
lines changed

semantic-python/src/Language/Python/Core.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ instance Compile Py.IfStatement where
6161
compile IfStatement{..} = If <$> compile condition <*> compile consequence <*> case alternative of
6262
Nothing -> pure Unit
6363
Just clauses -> foldr clause (pure Unit) clauses
64-
where clause (Left (ElifClause{..})) rest = If <$> compile condition <*> compile consequence <*> rest
65-
clause (Right (ElseClause body)) _ = compile body
64+
where clause (Left ElifClause{..}) rest = If <$> compile condition <*> compile consequence <*> rest
65+
clause (Right ElseClause{..}) _ = compile body
6666

6767
instance Compile Py.ImportFromStatement
6868
instance Compile Py.ImportStatement

0 commit comments

Comments
 (0)