Control.Exception

Ian Lynagh igloo at earth.li
Tue Oct 7 16:02:30 EDT 2008


On Tue, Oct 07, 2008 at 12:54:55PM -0700, Duncan Coutts wrote:
> On Tue, 2008-10-07 at 20:50 +0200, Johannes Waldmann wrote:
> > > catch \(e :: SomeException) -> ...
> > 
> > So, this changes the API (from 6.8 to 6.10)?
> > 
> > I see there is Control.OldException (providing the "old catch")
> > but that still does not help me if I want my code compile
> > with both 6.8 and 6.10. Is there some version of catch that works both ways?
> 
> Build your package using base-3 rather than base-4.

Another option would be for someone to fill out
    http://darcs.haskell.org/packages/extensible-exceptions/
so that it becomes a complete replacement. Currently it only has what we
needed in GHC.


Thanks
Ian



More information about the Glasgow-haskell-users mailing list