Aha! A palpable bug. Now fixed in the CVS repository.
Thanks for reporting it. You should not need the
'import Eval' now. Nor do you need -fno-prune-tydecls (ever again).
Simon
> -----Original Message-----
> From: Kevin Atkinson
> Sent: Thursday, July 01, 1999 5:44 PM
> To: Simon Peyton-Jones
> Cc: 'GHC bugs'
> Subject: Re: CVS Version of GHC has problems finding Instances
>
>
> Simon Peyton-Jones wrote:
> >
> > Kevin
> >
> > Simon has built your library with the current GHC and it's happy.
> > So at the moment we can't reproduce your problem.
>
> Is it happy when you comment out the "import Eval" in Main.hs?
>
> > Have you still
> > got it? (After doing your cvs update.)
>
> Updated tuesday morning.
>
> After I commenting out import Eval:
>
> Main.hs:63:
> No instance for `Monad Eval.Eval'
> arising from use of `elems' at Main.hs:63
>
> ghc-4.02 does not have this problem. Nor does hugs.
>
> >
> > Simon
> >
> > > -----Original Message-----
> > > From: Kevin Atkinson
> > > Sent: Monday, June 28, 1999 8:10 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: CVS Version of GHC has problems finding Instances
> > >
> > >
> > > It seams that the CVS version of ghc (June 27) has
> problems finding
> > > instances. See the attached file Main.hs in a message I
> just sent to
> > > the Haskell mailing list with a subject of "Second
> attempt for an STL
> > > like library for Haskell". If I don't import Eval it
> complains of not
> > > being able to find an instance of Monad for Eval.Eval.
> > >
> > > If this is not a known problem I have some additional
> examples I can
> > > provide. Just let me known.
> > > --
> > > Kevin Atkinson
> > > [EMAIL PROTECTED]
> > > http://metalab.unc.edu/kevina/
> > >
>
> --
> Kevin Atkinson
> [EMAIL PROTECTED]
> http://metalab.unc.edu/kevina/
>