It seems to work ok in my copy, which is in the repository.
Various libraries weren't quite right until recently, so I
think you'll find it's ok now.  (But you'll need to use CVS
to get an up to date copy until we make a proper release.)

Thanks for the report


Simon

> -----Original Message-----
> From: Michael Weber 
> Sent: Friday, May 28, 1999 1:39 PM
> To: GHC Bug list
> Subject: different behaviour of ghc-4.02 and ghc-pre-4.03
> 
> 
> Hi!
> 
> Consider the following program:
> 
> > data Msg = Value Int | Inc
> >   deriving (Show, Read)
> >  
> > main = do let v = read "Value 7"::Msg
> >           print v
>           
> 
> When compiled with ghc-4.02, everything's fine, it outputs 
> "Value 7" as
> expected. But compiled with ghc-pre-4.03 it yields this error message.
> 
>    Fail: Prelude.read: no parse
> 
> 
> I'm using ghc-pre-4.03-sparc-solaris2.tar.gz
> 
> 
> Cheers,
> Michael
> -- 
> Never buy anything that mentions Windows on the package.
> Except sheets of glass.  Or plastic.  And that smelly blue
> stuff that removes dirt without leaving a residue.
>                   --  [EMAIL PROTECTED] in c.o.l.d.s.
> 

Reply via email to