We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d28e494 commit fd3a38eCopy full SHA for fd3a38e
part1_chapter7_exercise5/Main.hs
@@ -23,7 +23,7 @@ curried = \x y -> x - y
23
-- so very happy the below was my first guess :D
24
-- curry :: (a, b) -> c -> (a -> b -> c)
25
-- The actual signature is taken from the solutions sections, though.
26
--- I had to make sure what the exercise really is.
+-- I had to make sure what the exercise really was.
27
curry' :: (Num a, Num b, Num c) => ((a, b) -> c) -> (a -> b -> c)
28
curry' x = \y z -> x (y, z)
29
0 commit comments