HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hcoop: move dispatcher to gibran
[hcoop/domtool2.git]
/
tests
/
test.dtl
diff --git
a/tests/test.dtl
b/tests/test.dtl
index
b23f578
..
c3c2a19
100644
(file)
--- a/
tests/test.dtl
+++ b/
tests/test.dtl
@@
-1,3
+1,14
@@
-(\x -> [x, 7]) 13;
-0
+extern val tweak : int -> [Root];
+extern val tickle : string -> A => Root;
+extern val tackle : [A];
+extern val twitch : int -> [A];
+
+tweak 42;
+Choice = 19;
+tickle "yourself" with
+ tackle;
+ tackle;
+ choice <- Choice;
+ twitch choice
+end