
11 Mar
2013
11 Mar
'13
9:57 p.m.
When I ran this code (ghc 7.6.1), I did get the Hello, world! printout. That line was sandwiched between the compile-time warning from the type error and the run-time exception from the type error, but the output was there:
Thank you for letting me know this. I'm also using GHC 7.6.1.
I should try to find why the incorrect behavior happens in my environment.
I noticed that "--" is necessary. runghc -- -fdefer-type-errors Main.hs --Kazu