
10 Jan
2008
10 Jan
'08
3:40 p.m.
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.