Created
June 1, 2017 18:34
-
-
Save Akii/ee26eed9e4221fc26846fd205f6b108b 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
-- kay, I get it because it's function chaining | |
foo = do | |
name <- getLine | |
name <- getLine | |
putStrLn name | |
return () | |
-- looks like I can mutat / override `a` | |
someFunction :: Int -> Int | |
someFunction a = | |
let a = 12 | |
in a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment