
10 Jan
2008
10 Jan
'08
2:33 p.m.
At Thu, 10 Jan 2008 17:22:02 -0200, Maurício wrote:
Hi,
Is it possible not to load Prelude module when compiling a Haskell module? Or instruct ghc to “unload” it?
You can either do: import Prelude() or compile with the -fno-implicit-prelude flag, or add {-# LANGUAGE NoImplicitPrelude #-} to the top of the module. NoImplicitPrelude is more aggressive than 'import Prelude()'. You will have to look elsewhere for a better explanation of the difference. j.