Last active
August 29, 2015 14:12
-
-
Save amonshiz/64d67960d26caa7001c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addFunction :: Int -> Int -> Int | |
addFunction x1 x2 = x1 + x2 | |
-- addFunction 1 2 ==> 3 | |
let add10 = addFunction 10 | |
-- :t add10 | |
-- add10 :: Int -> Int | |
-- add10 5 ==> 15 | |
-- add10 100 ==> 110 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment