[commit: ghc] master: Remove single top-level section in Foldable docs (5797784)
git at git.haskell.org
git at git.haskell.org
Thu Jan 5 22:01:47 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5797784c78397b9bf407b0d4c0757791f0b552ce/ghc
>---------------------------------------------------------------
commit 5797784c78397b9bf407b0d4c0757791f0b552ce
Author: Chris Martin <ch.martin at gmail.com>
Date: Thu Jan 5 16:25:17 2017 -0500
Remove single top-level section in Foldable docs
This fixes a mild annoyance in the haddock output for Data.Foldable.
The section outline had a single top-level heading, which doesn't serve
any purpose as far as I can tell.
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2922
>---------------------------------------------------------------
5797784c78397b9bf407b0d4c0757791f0b552ce
libraries/base/Data/Foldable.hs | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs
index 6ad549f..ce097df 100644
--- a/libraries/base/Data/Foldable.hs
+++ b/libraries/base/Data/Foldable.hs
@@ -21,23 +21,22 @@
-----------------------------------------------------------------------------
module Data.Foldable (
- -- * Folds
Foldable(..),
- -- ** Special biased folds
+ -- * Special biased folds
foldrM,
foldlM,
- -- ** Folding actions
- -- *** Applicative actions
+ -- * Folding actions
+ -- ** Applicative actions
traverse_,
for_,
sequenceA_,
asum,
- -- *** Monadic actions
+ -- ** Monadic actions
mapM_,
forM_,
sequence_,
msum,
- -- ** Specialized folds
+ -- * Specialized folds
concat,
concatMap,
and,
@@ -46,7 +45,7 @@ module Data.Foldable (
all,
maximumBy,
minimumBy,
- -- ** Searches
+ -- * Searches
notElem,
find
) where
More information about the ghc-commits
mailing list