ANNOUNCE: GHC 7.4.1 Release Candidate 2

Herbert Valerio Riedel hvr at
Mon Feb 6 08:19:42 CET 2012

On Sun, 2012-02-05 at 04:41 +0100, Daniel Fischer wrote:
> That may have been the idea, but doesn't make a difference. GHC allows a 
> shebang line as the first line of a file also in .hs files.

...except when enabling the CPP language extension, then you get a

shebang.hs:1:0:  error: invalid preprocessing directive #!
phase `C pre-processor' failed (exitcode = 1)

More information about the Glasgow-haskell-users mailing list