haskell/HTTP — pull request #27 by bitc (2012-08-13 22:18:01+00:00)
Title: Add support for base-4.6 (ghc-7.6)

HTTP currently does not build with `base-4.6`, which is to be included with `ghc-7.6`

The problem is that `Prelude.catch` was removed from base: it is now required to use `Control.Exception.catch`.

This pull request replaces all uses of `Prelude.catch` with `Control.Exception.catch` (thanks to ) , and bumps the upper bound dependency of base to `< 4.7`

This probably breaks compatibility with old versions of base(3 and below), so some further preprocessor magic may be necessary.