On Thu, 10 Jan 2008, [windows-1252] 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
  import Prelude ()

but some things like 'fromInteger' as used for number literals are still
present. You can write the pragma
  {-# OPTIONS -fno-implicit-prelude #-}
 at the top of your module to get completely rid of the Prelude.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to