summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lec01/hw.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/lec01/hw.hs b/lec01/hw.hs
index 19dd24f..3f63bf6 100644
--- a/lec01/hw.hs
+++ b/lec01/hw.hs
@@ -51,3 +51,7 @@ hanoi 0 _ _ _ = []
hanoi 1 a b c = [(a,c)]
hanoi 2 a b c = [(a,b), (a,c), (b,c)]
hanoi n a b c = hanoi (n-1) a c b ++ [(a,c)] ++ hanoi (n-1) b a c
+
+-- exercise 6
+
+-- (optional, skipped) \ No newline at end of file