aboutsummaryrefslogtreecommitdiff
path: root/sample/ack_3_5.in
diff options
context:
space:
mode:
Diffstat (limited to 'sample/ack_3_5.in')
-rw-r--r--sample/ack_3_5.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/sample/ack_3_5.in b/sample/ack_3_5.in
index 7b6e0bd..19f92fa 100644
--- a/sample/ack_3_5.in
+++ b/sample/ack_3_5.in
@@ -20,9 +20,13 @@ ack(ret, int m) >< (int n)
| n==0 => ack(ret, m-1)~1
| _ => ack(cnt, m)~(n-1), ack(ret, m-1)~cnt;
-ackMain(ret)><(int m, int n) => ack(ret,n)~m;
+ackMain(ret)><(int m, int n) => ack(ret,m)~n;
-ackMain(ret)~(3,5);
+
+// main
+const M=3;
+const N=5;
+ackMain(ret)~(M,N);
ret;
free ret;