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
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to