Skip to content

Instantly share code, notes, and snippets.

@Akii
Created June 1, 2017 18:34
Show Gist options
  • Save Akii/ee26eed9e4221fc26846fd205f6b108b to your computer and use it in GitHub Desktop.
Save Akii/ee26eed9e4221fc26846fd205f6b108b to your computer and use it in GitHub Desktop.
-- 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