Last active
August 29, 2015 14:02
-
-
Save NobbZ/68ea30b8e323ceafd212 to your computer and use it in GitHub Desktop.
Does not compile because `main` does not see `y`
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
| module Main | |
| main : IO () | |
| main = putStrLn (show y) | |
| y : Int | |
| y = 1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to compile the above yields following message: