Created
July 28, 2013 13:20
-
-
Save dmalikov/6098556 to your computer and use it in GitHub Desktop.
nice module-management package
This file contains 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
import Control.Monad (($), forM, undefined) | |
main = forM [] $ undefined |
This file contains 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
import Control.Monad (forM, forM_) | |
main = forM [] $ undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Believe it or not, this is a bug in GHC. If you run
on the file before.hs, you will see this in Main.imports:
Here is the GHC ticket for this issue, it should be fixed in 7.8 but in the meantime just add a module line or amything else above the first import: