Daan leijen wrote:
> Everything worked fine on my system too (NT5).
> It might be that the problem is in the file names of the library files,
> make sure the your module M actually has the name 'M.hs',
> not 'm.hs', same holds for the 'Prelude.hs' file.

It does actually have the name M.hs, and the prelude file was just the
standard one.

--FC

> ----- Original Message -----
> From: Andy Gill <[EMAIL PROTECTED]>
> To: Frank A. Christoph <[EMAIL PROTECTED]>; Hugs Bugs
> <[EMAIL PROTECTED]>
> Sent: Friday, August 06, 1999 9:42 AM
> Subject: Re: Win32 Bug: Hiding Prelude imports
>
>
> > "Frank A. Christoph" wrote:
> > >
> > > There is an incompatibility between UNIX and Win32 versions of the May
> 99
> > > release. The following program
> > >
> > >   module M where
> > >   import Prelude hiding (map)
> > >   map = 1
> > >
> > > loads without problem on UNIX, but on Win32 it yields the message
> > >
> > > Reading file "M.hs":
> > > Reading file "C:\hugs98\lib\Prelude.hs":
> > > Parsing
> > > ERROR "C:\hugs98\lib\Prelude.hs": Module "Prelude" already loaded
> > >
> > > I didn't see this mentioned in the known bugs list.
> >
> > Hi Frank.
> >
> > This example works fine on my NT box. I'll try it
> > later on my Win98 box at home. Can you send some
> > more details about your setup, what your HugsPath
> > is, and if this is the standard binary release?
> >
> > Thanks,
> >
> > Andy
> >
>
>

Reply via email to