Skip to content

Instantly share code, notes, and snippets.

@plaster
Last active August 29, 2015 14:19
Show Gist options
  • Save plaster/1a52abfdaedc9e3d363c to your computer and use it in GitHub Desktop.
Save plaster/1a52abfdaedc9e3d363c to your computer and use it in GitHub Desktop.
a :: Int
b :: Int
c :: Int
c = a + b
a = 5
b = 7
main = print c
[ plaster@ropecat:~/tmp/hs ]
% runghc abc.hs
12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment