[commit: containers] master: Remove obsolete comment about deleteWith. (4cdb33f)
Paolo Capriotti
p.capriotti at gmail.com
Thu Jul 19 21:12:26 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4cdb33f48129a01bc1eec3f1cfd02c94181d01f7
>---------------------------------------------------------------
commit 4cdb33f48129a01bc1eec3f1cfd02c94181d01f7
Author: Milan Straka <fox at ucw.cz>
Date: Sun Apr 22 17:54:00 2012 +0200
Remove obsolete comment about deleteWith.
DeleteWith is no longer method of any collection.
>---------------------------------------------------------------
Data/IntMap/Base.hs | 1 -
Data/IntMap/Strict.hs | 1 -
Data/Map/Base.hs | 1 -
Data/Map/Strict.hs | 1 -
4 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/Data/IntMap/Base.hs b/Data/IntMap/Base.hs
index d147d59..f8c026c 100644
--- a/Data/IntMap/Base.hs
+++ b/Data/IntMap/Base.hs
@@ -544,7 +544,6 @@ insertLookupWithKey f k x t = k `seq`
{--------------------------------------------------------------------
Deletion
- [delete] is the inlined version of [deleteWith (\k x -> Nothing)]
--------------------------------------------------------------------}
-- | /O(min(n,W))/. Delete a key and its value from the map. When the key is not
-- a member of the map, the original map is returned.
diff --git a/Data/IntMap/Strict.hs b/Data/IntMap/Strict.hs
index 1ff087f..e9ebadf 100644
--- a/Data/IntMap/Strict.hs
+++ b/Data/IntMap/Strict.hs
@@ -396,7 +396,6 @@ insertLookupWithKey f k x t = k `seq` x `seq`
{--------------------------------------------------------------------
Deletion
- [delete] is the inlined version of [deleteWith (\k x -> Nothing)]
--------------------------------------------------------------------}
-- | /O(min(n,W))/. Adjust a value at a specific key. When the key is not
-- a member of the map, the original map is returned.
diff --git a/Data/Map/Base.hs b/Data/Map/Base.hs
index c10641b..9669551 100644
--- a/Data/Map/Base.hs
+++ b/Data/Map/Base.hs
@@ -626,7 +626,6 @@ insertLookupWithKey = go
{--------------------------------------------------------------------
Deletion
- [delete] is the inlined version of [deleteWith (\k x -> Nothing)]
--------------------------------------------------------------------}
-- | /O(log n)/. Delete a key and its value from the map. When the key is not
-- a member of the map, the original map is returned.
diff --git a/Data/Map/Strict.hs b/Data/Map/Strict.hs
index f38a2a9..6cc160f 100644
--- a/Data/Map/Strict.hs
+++ b/Data/Map/Strict.hs
@@ -444,7 +444,6 @@ insertLookupWithKey = go
{--------------------------------------------------------------------
Deletion
- [delete] is the inlined version of [deleteWith (\k x -> Nothing)]
--------------------------------------------------------------------}
-- | /O(log n)/. Update a value at a specific key with the result of the provided function.
More information about the Cvs-libraries
mailing list