Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4c0a00252dea5a3eecfddda6cf0bd8d93f2d9561

>---------------------------------------------------------------

commit 4c0a00252dea5a3eecfddda6cf0bd8d93f2d9561
Author: Milan Straka <[email protected]>
Date:   Wed Dec 7 19:54:43 2011 +0100

    Generalize IntMap.update{Min,Max}[WithKey].
    
    Previously these methods were given an argument of type
      [Key ->] a -> a
    Now they are given an argument of type
      [Key ->] a -> Maybe a
    That makes them compatible with Map counterparts.

 Data/IntMap/Base.hs        |   36 ++++++++++++++++++++++--------------
 Data/IntMap/Strict.hs      |   36 ++++++++++++++++++++++--------------
 tests/intmap-properties.hs |   12 ++++++++----
 3 files changed, 52 insertions(+), 32 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 4c0a00252dea5a3eecfddda6cf0bd8d93f2d9561

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

Reply via email to