ANNOUNCE: GHC 7.4.1 Release Candidate 2
daniel.is.fischer at googlemail.com
Sun Feb 5 04:41:09 CET 2012
On Wednesday 01 February 2012, 19:08:16, Evan Laforge wrote:
> On Wed, Feb 1, 2012 at 8:16 AM, Simon Hengel <sol at typeful.net> wrote:
> > Are you referring to the classical pattern, that allows you to add a
> > shebang?
> > #!/usr/bin/env runhaskell
> > > import Distribution.Simple
> > > main = defaultMain
> Ohh, so it's a trick to allow #! in there... I guess that would
> explain it! I just type runghc on everything and it seems like a lot
> of those don't have the executable bit set, so I hadn't thought of
> that reason.
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.
More information about the Glasgow-haskell-users