Instantly share code, notes, and snippets.

Embed
What would you like to do?
addThree :: Int -> Int -> Int -> Int
addThree x y z = x + y + z
addThree' :: Int -> Int -> Int -> Int
addThree' = \x -> \y -> \z -> x + y + z
main = do
print $ addThree 1 2 3
print $ addThree' 1 2 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment