
21 Nov
2007
21 Nov
'07
7:09 p.m.
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