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
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 NoImplicitPr
Use:
import Prelude ()
On Jan 10, 2008 11:22 AM, Maurício <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible not to load Prelude module
> when compiling a Haskell module? Or instruct
> ghc to "unload" it?
>
> Thanks,
> Maurício
>
> ___
> Haskell-Caf
Sorry for the double message, Mauricio. It's the first time I ever
posted to haskell-cafe - figures I'd click on "reply" and not "reply
to all"...
On Jan 10, 2008 9:22 PM, Maurício <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible not to load Prelude module
> when compiling a Haskell module? Or
On Jan 10, 2008, at 14:22 , Maurí cio wrote:
Is it possible not to load Prelude module
when compiling a Haskell module? Or instruct
ghc to “unload” it?
-fno-implicit-prelude
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too
Hi,
Is it possible not to load Prelude module
when compiling a Haskell module? Or instruct
ghc to “unload” it?
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe