[commit: containers] master: Remove obsolete comment about deleteWith. (4cdb33f)

Paolo Capriotti <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
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 <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.