Re: [Haskell-cafe] Not to load Prelude

2008-01-10 Thread Henning Thielemann
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

Re: [Haskell-cafe] Not to load Prelude

2008-01-10 Thread Jeremy Shaw
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

Re: [Haskell-cafe] Not to load Prelude

2008-01-10 Thread Clifford Beshers
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

Re: [Haskell-cafe] Not to load Prelude

2008-01-10 Thread Ari Rahikkala
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

Re: [Haskell-cafe] Not to load Prelude

2008-01-10 Thread Brandon S. Allbery KF8NH
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

[Haskell-cafe] Not to load Prelude

2008-01-10 Thread Maurí­cio
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