In the spirit of giving people fair warning before making
build-system-related changes, here's a batch of changes to implement the
backwards-compatibility infrastructure that we've been talking about.  This
is basically done and working - I just successfully validated on Linux, but
I'll also try a Windows build just to make sure.

Just to be clear: these patches have *not* been pushed yet, but I intend to
push them in the next day or two unless anyone needs me to hold off for
some reason.

There's a new repository for the backwards-compat version of base at
http://darcs.haskell.org/packages/base3-compat.

Patches attached are: ghc-base-compat.patch for GHC, and
libraries-base-compat.patch for libraries/base (just bumps the base version
to 4.0).

[
 in fact the darcs patches were too enormous to attach, so I put them here
 instead:
   http://www.haskell.org/~simonmar/ghc-base-compat.patch
   http://www.haskell.org/~simonmar/libraries-base-compat.patch
]

The upshot of this change is that packages which explicitly depend on base
< 4 will now get base-3.0.3.0, which has the old Control.Exception API, and
will therefore continue to work.

(oh, and I just remembered that I unpulled a couple of patches from Cabal
to revert to using the old Control.Exception API, but when this patch
actually goes in I'll just update Cabal.cabal to allow it to use base-4).

Cheers,
        Simon

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

Reply via email to