This commit is contained in:
2024-10-11 16:22:47 +02:00
parent 8ab279d488
commit ff512028f3

View File

@ -60,7 +60,7 @@ printExp (Let v e1 e2) =
printExp (Lambda v body) =
parens $ "\\" ++ v ++ " -> " ++ printExp body
printExp (Apply x y) =
printExp x ++ " (" ++ printExp y ++ ")"
parens $ printExp x ++ " " ++ printExp y
printExp (TryCatch x y) =
parens $ "try " ++ printExp x ++ " catch " ++ printExp y