summaryrefslogtreecommitdiff
path: root/lec01/hw.hs
diff options
context:
space:
mode:
authorEdoardo La Greca2025-06-20 19:01:02 +0200
committerEdoardo La Greca2025-06-20 19:01:02 +0200
commit5be14fbbb9561d17099cd2972c2ca5437b9343f6 (patch)
tree58590f67e76a74b810de672070d6b939d89918c9 /lec01/hw.hs
parent90dc9e1e36cddadee9f93141b29cc26e6c49885e (diff)
add comment for exercise 6
Diffstat (limited to 'lec01/hw.hs')
-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