> On Wed, Jan 08, 2003 at 05:06:30AM -0800, Simon Marlow wrote:
> > simonmar    2003/01/08 05:06:30 PST
> > 
> >   Modified files:
> >     libraries/base/System/IO Error.hs 
> >   Log:
> >   Alter the order of the argument to annotateIOError to 
> match mkIOError
> >   and the FFI spec.
> 
> Also, should not the first line of
> 
> annotateIOError (IOError hdl errTy _ str path) loc ohdl opath =
>   IOError (hdl `mplus` ohdl) errTy loc str (path `mplus` opath)
>   where
>     Nothing `mplus` ys = ys
>     xs      `mplus` _  = xs
> 
> be
> 
> annotateIOError (IOError ohdl errTy _ str opath) loc hdl path =
> 
> so the new uniformly overrides the old (as implied by the spec)?

Yes indeed, thanks.

Simon
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to