Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add = \x y -> x + y
add' = \x -> \y -> x + y
main = do
print $ add 3 4
print $ add' 3 4
print $ (\x y -> x + y) 3 4
print $ (\x -> \y -> x + y) 3 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.