[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hugs-bugs
Subject:    Re: problem
From:       "Sigbjorn Finne" <sof () galois ! com>
Date:       2002-05-06 18:59:12
Message-ID: 025d01c1f530$1c1d6b90$1e32a8c0 () sofxp
[Download RAW message or body]

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
> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic