problem

Sigbjorn Finne sof@galois.com
Mon, 6 May 2002 11:59:12 -0700


Hi there,

I'm not sure I understand what you're trying to do, but here's
a couple of things to check for (my apologies if these are dead
obvious suggestions):

- don't modify the Prelude.hs file that comes with Hugs -- define
   separate Haskell modules containing functionality you want to
   share & and 'import' these into your various projects instead.
- Haskell 98's module namespace is rather flat, so if you're trying
   to common up standard functions&types for a particular project,
   don't save these in a local Prelude.hs, but name it MyPrelude.hs
   (or some such.)

- make sure you haven't been bitten by the XP upgrade bug --

    http://haskell.org/pipermail/hugs-bugs/2002-March/000658.html
  

If these suggestions doesn't help you solve your problem, please let
us know -- the more details you can supply, the better.

hth
--sigbjorn

instead and 'import'
----- Original Message ----- 
From: "George Ioannou" <georges_0@hotmail.com>
To: <hugs-bugs@haskell.org>
Sent: Wednesday, May 01, 2002 09:43
Subject: problem


> i have installed hugs for windows 32 and i think i wrote
> prelude>:load prelude.hs and from that moment it doesn't work at all
> it shows me a message
> ERROR "Prelude.hs" - Module "Prelude" recursively imports itself
> 
>            FATAL ERROR Unable to load prelude
> 
> please help me if you can
>