summaryrefslogtreecommitdiff
path: root/demo/ref.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-27 08:27:45 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-27 08:27:45 -0400
commit5d118aafe9b7cecdb429836b61bb9fdf6e8fc24e (patch)
tree4f228e945fd003d5a15b6d45fb34f50b6a41722c /demo/ref.ur
parent794a3ad4e4713e74d2118d8f24b09ef4d35bd34f (diff)
Remove need for '() <-' notation
Diffstat (limited to 'demo/ref.ur')
-rw-r--r--demo/ref.ur8
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]}