summaryrefslogtreecommitdiff
path: root/src/Transfer/Syntax/Print.hs
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-09 11:45:57 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-09 11:45:57 +0000
commitccfe7fb119aa4aed9b971bd52f72ab0f54df1bf4 (patch)
treed96ad696726ae6574c77f85d0908f9f63ef284cf /src/Transfer/Syntax/Print.hs
parentce8376885c8edb58ae09b60aa49376b74b070626 (diff)
Transfer: changed syntax to remove the mandatory type annotation in let.
Diffstat (limited to 'src/Transfer/Syntax/Print.hs')
-rw-r--r--src/Transfer/Syntax/Print.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Transfer/Syntax/Print.hs b/src/Transfer/Syntax/Print.hs
index fc0bab0fe..1d9a8b739 100644
--- a/src/Transfer/Syntax/Print.hs
+++ b/src/Transfer/Syntax/Print.hs
@@ -143,7 +143,7 @@ instance Print (Tree c) where
EMeta -> prPrec _i 13 (concatD [doc (showString "?")])
VVar i -> prPrec _i 0 (concatD [prt 0 i])
VWild -> prPrec _i 0 (concatD [doc (showString "_")])
- LetDef i exp0 exp1 -> prPrec _i 0 (concatD [prt 0 i , doc (showString ":") , prt 0 exp0 , doc (showString "=") , prt 0 exp1])
+ LetDef i exp -> prPrec _i 0 (concatD [prt 0 i , doc (showString "=") , prt 0 exp])
Case pattern guard exp -> prPrec _i 0 (concatD [prt 0 pattern , prt 0 guard , doc (showString "->") , prt 0 exp])
BindVar varorwild exp -> prPrec _i 0 (concatD [prt 0 varorwild , doc (showString "<-") , prt 0 exp])
BindNoVar exp -> prPrec _i 0 (concatD [prt 0 exp])