summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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