runghc -fdefer-type-errors

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue Mar 12 02:57:06 CET 2013


>> 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



More information about the Glasgow-haskell-users mailing list