[commit: packages/containers] changelog-foldtree, cleaned_bugfix394, develop-0.6, develop-0.6-questionable, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394, zip-devel: Minor documentation fix. (864ebff)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:34:13 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: changelog-foldtree,cleaned_bugfix394,develop-0.6,develop-0.6-questionable,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-184-generic,revert-408-bugfix_394,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