[commit: packages/containers] develop-0.6, develop-0.6-questionable, master, zip-devel: Minor documentation fix. (864ebff)
git at git.haskell.org
git at git.haskell.org
Fri Dec 18 22:08:23 UTC 2015
Repository : ssh://git@git.haskell.org/containers
On branches: develop-0.6,develop-0.6-questionable,master,zip-devel
Link : http://git.haskell.org/packages/containers.git/commitdiff/864ebff7995e7d4358475f8808f10329a832b78b
>---------------------------------------------------------------
commit 864ebff7995e7d4358475f8808f10329a832b78b
Author: strout <steve.trout at gmail.com>
Date: Tue Oct 14 22:53:42 2014 -0500
Minor documentation fix.
Completed a sentence in maxView documentation.
>---------------------------------------------------------------
864ebff7995e7d4358475f8808f10329a832b78b
Data/Map/Base.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/Data/Map/Base.hs b/Data/Map/Base.hs
index d1d8ffe..eafab03 100644
--- a/Data/Map/Base.hs
+++ b/Data/Map/Base.hs
@@ -1171,6 +1171,7 @@ minView x = Just (first snd $ deleteFindMin x)
-- | /O(log n)/. Retrieves the value associated with maximal key of the
-- map, and the map stripped of that element, or 'Nothing' if passed an
+-- empty map.
--
-- > maxView (fromList [(5,"a"), (3,"b")]) == Just ("a", singleton 3 "b")
-- > maxView empty == Nothing
More information about the ghc-commits
mailing list