[PATCH] Split Data.IntMap into Data.IntMap.Strict and Data.IntMap.Lazy.

Milan Straka fox at ucw.cz
Mon Oct 3 12:47:38 CEST 2011


Hi,

> On Mon, 2011-10-03 at 00:55 +0200, Gregory Collins wrote:
> > +1 for both .Strict and .Lazy.
> 
> +1 as well from me
> 
> (Just wondering: would there be a transitional compatibility layer, or
> would all user-code have to change the Data.Map imports at once with the
> new containers version implementing this proposal?)

There will definitely be transitional compatibility layer. Data.Map will
export Data.Map.Lazy and also the strict-with-prime variants, which will
call their counterparts from Data.Map.Strict. The prime variants will
get deprecated some time in the future and eventually be removed.
But I think Data.Map will stay with us probably forever, exporting
Data.Map.Lazy.

Cheers,
Milan



More information about the Libraries mailing list