On Wednesday 01 February 2012, 19:08:16, Evan Laforge wrote: > On Wed, Feb 1, 2012 at 8:16 AM, Simon Hengel <s...@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. _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users