Set 3a Ex 8: be consistent about argument name

This commit is contained in:
Joel Kaasinen
2022-01-18 22:03:11 +02:00
parent e6bfe14cb1
commit 664b19f8f1
+1 -1
View File
@@ -156,7 +156,7 @@ while check update value = todo
-- Hint! Remember the case-of expression from lecture 2.
whileRight :: (a -> Either b a) -> a -> b
whileRight f x = todo
whileRight check x = todo
-- for the whileRight examples:
-- step k x doubles x if it's less than k