suggestion: add a .ehs file type
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Wed Nov 21 19:09:06 EST 2007
On Wed, 2007-11-21 at 15:03 -0500, Alex Jacobson wrote:
> Proof that the compiler knows which extensions are being used: it can
> compile the program sucessfully when the extension is turned on and not
> otherwise.
Counterexample (not my own):
http://hpaste.org/3855
{-# OPTIONS_GHC -fbang-patterns #-}
foo _ = "lol"
main = putStrLn (foo "wut")
where
foo !x = x
Duncan
More information about the Glasgow-haskell-users
mailing list