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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to