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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to