summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/AST/Pretty.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AST/Pretty.hs b/src/AST/Pretty.hs
index acd0dc3..a05b49e 100644
--- a/src/AST/Pretty.hs
+++ b/src/AST/Pretty.hs
@@ -220,8 +220,8 @@ ppExprLet d val etop = do
(binds, core) <- collect val etop
let (open, close) = case binds of
- [_] -> ("{ ", " }")
- _ -> ("", "")
+ [_] -> ("", "")
+ _ -> ("{ ", " }")
return $ showParen (d > 0) $
showString ("let " ++ open)
. foldr (.) id