summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Martin <ch.martin@gmail.com>2017-01-05 16:25:17 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-05 17:01:27 -0500
commit5797784c78397b9bf407b0d4c0757791f0b552ce (patch)
tree6208a119fbd045feade31f6d2c902a2cf5391490
parent5d2a92a1455349011568f18526b0d5d4ce51f692 (diff)
downloadhaskell-5797784c78397b9bf407b0d4c0757791f0b552ce.tar.gz
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
-rw-r--r--libraries/base/Data/Foldable.hs13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs
index 6ad549f0fe..ce097df581 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