Malcolm Wallace wrote:
Simon Marlow <[EMAIL PROTECTED]> wrote:


Wed Aug  9 08:38:10 PDT 2006  Simon Marlow <[EMAIL PROTECTED]>
 * Remove deprecated Data.FiniteMap and Data.Set interfaces

   R ./Data/FiniteMap.hs


Is it necessary to remove Data.FiniteMap quite so soon?  It has only
been deprecated since ghc 6.4.0, and the replacement (Data.Map) has only
been available (with some bugs) since 6.4.0.

I like my software to continue to work with older versions of ghc (such
as 6.2.2).  But currently, there is no way I can support both ghc-6.2.2
and ghc-6.4.x using a single API - it would require #ifdef'ing around
both the old Data.FiniteMap calls, and the new Data.Map.

'fraid so. 6.4 had quite a long lifespan, and in fact is still supported in the sense that we plan to do another release from that branch.

Data.FiniteMap was just bloat in the base package. There's nothing stopping you (or someone else) from packaging Data.FiniteMap separately, or providing a compatibility API that works with GHC 6.2-6.6. This whole centralised library thing is less of an issue now that we have packages and Cabal.

Cheers,
        Simon

Reply via email to