On Wed, Aug 27, 2008 at 01:59:04PM +0100, Claus Reinke wrote:
> >>In this case, I was told that base3-compat was provided
> >>explicitly to avoid breakage[1], and as I reported, that 
> >>doesn't seem to be the case [2].
> >
> >It'll only work for packages that correctly depend on something like:
> >   base >= x && < 4
> 
> quoting self (again):
> 
> |Then, after adding "base < 4" to all extralibs .cabal files, I'm
> |treated to a
> |
> |Network.hs:434:10:
> |    Couldn't match expected type `Exception.IOException'
> |           against inferred type `Exception.Exception'
> |      Expected type: Exception.IOException -> IO a
> |      Inferred type: Exception.Exception -> IO a
> |    In the expression: Exception.catch
> |    In the definition of `catchIO': catchIO = Exception.catch

That's because network's code requires base 4 due to this patch:

    Make network work with extensible exceptions
    Ian Lynagh <[EMAIL PROTECTED]>**20080805125755

Packages designed for base 3, with dependencies that reflect that,
should work with GHC 6.10.


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to