Set 3b Ex 7: add two examples

This commit is contained in:
Joel Kaasinen
2025-11-10 09:12:22 +02:00
parent 177ee46ed0
commit 60970d098b
+2
View File
@@ -120,6 +120,8 @@ sumsOf xs = todo
-- Examples:
-- merge [1,3,5] [2,4,6] ==> [1,2,3,4,5,6]
-- merge [1,1,6] [1,2] ==> [1,1,1,2,6]
-- merge [1,2,3,20] [7] ==> [1,2,3,7,20]
-- merge [1] [2,3,4,5,6] ==> [1,2,3,4,5,6]
merge :: [Int] -> [Int] -> [Int]
merge xs ys = todo