On 12-May-2000, S.D.Mechveliani <[EMAIL PROTECTED]> wrote:
> 
> Sorry for easy question,
> who could explain please, can Haskel work with the user-provided 
> prelude instead of standard?

Name your prelude something different than "Prelude",
e.g. "SDM_Prelude".

Then every module which wants to use this prelude rather than
the standard prelude should begin with the following two lines:

        import qualified Prelude
        import SDM_Prelude

SDM_Prelude itself should start with

        import qualified Prelude

and it can then define its own `+' in terms of `Prelude.+'.

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to