aboutsummaryrefslogtreecommitdiff
path: root/sample/hanoi.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sample/hanoi.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/sample/hanoi.in b/sample/hanoi.in
index 40cef50..5be47c6 100644
--- a/sample/hanoi.in
+++ b/sample/hanoi.in
@@ -4,8 +4,11 @@
hanoi(return, source, target, aux) >< (int n)
| n==0 =>
// Erase the source, target and aux
- Eraser~source, Eraser~target, Eraser~aux,
- // result
+ source ~ Eraser,
+ target ~ Eraser,
+ aux ~ Eraser,
+
+ // result
return~[]
| _ =>