suggestion: add a .ehs file type

Duncan Coutts duncan.coutts at
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):

{-# OPTIONS_GHC -fbang-patterns #-}
foo _ = "lol"

main = putStrLn (foo "wut")
    foo !x = x


More information about the Glasgow-haskell-users mailing list