mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
Set 3a Ex 8: be consistent about argument name
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user