Duncan Coutts | 7 Oct 21:54
Picon
Picon
Favicon

Re: Control.Exception

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.

Duncan

Gmane