diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-27 08:27:45 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-27 08:27:45 -0400 |
commit | 5d118aafe9b7cecdb429836b61bb9fdf6e8fc24e (patch) | |
tree | 4f228e945fd003d5a15b6d45fb34f50b6a41722c /demo/ref.ur | |
parent | 794a3ad4e4713e74d2118d8f24b09ef4d35bd34f (diff) |
Remove need for '() <-' notation
Diffstat (limited to 'demo/ref.ur')
-rw-r--r-- | demo/ref.ur | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demo/ref.ur b/demo/ref.ur index 089529e3..4030b6fa 100644 --- a/demo/ref.ur +++ b/demo/ref.ur @@ -13,15 +13,15 @@ fun main () = ir' <- IR.new 7; sr <- SR.new "hi"; - () <- IR.write ir' 10; + IR.write ir' 10; iv <- IR.read ir; iv' <- IR.read ir'; sv <- SR.read sr; - () <- IR.delete ir; - () <- IR.delete ir'; - () <- SR.delete sr; + IR.delete ir; + IR.delete ir'; + SR.delete sr; return <xml><body> {[iv]}, {[iv']}, {[sv]} |