Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : master
http://hackage.haskell.org/trac/ghc/changeset/3351ee0b4c3f7ef3c0d4032fb2dc4189ca8c92ea >--------------------------------------------------------------- commit 3351ee0b4c3f7ef3c0d4032fb2dc4189ca8c92ea Author: Milan Straka <[email protected]> Date: Wed Jul 13 12:31:39 2011 +0200 Add all fold variants. Add foldr, foldl, foldr', foldl' to Data.*Set and Data.*Map. The fold function is in Legacy section and said to be deprecated and removed in the future. Also add foldrWithKey, foldlWithKey, foldrWithKey', foldlWithKey to Data.*Map. The foldWithKey function is in Legacy section and said to be deprecated and removed in the future. Data/IntMap.hs | 185 +++++++++++++++++++++++++++++++++++++++++++++++--------- Data/IntSet.hs | 87 +++++++++++++++++++++++--- Data/Map.hs | 136 +++++++++++++++++++++++++++++++---------- Data/Set.hs | 58 ++++++++++++++++- 4 files changed, 389 insertions(+), 77 deletions(-) Diff suppressed because of size. To see it, use: git show 3351ee0b4c3f7ef3c0d4032fb2dc4189ca8c92ea _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
