summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2018-11-24 18:40:17 +0100
committerBen Gamari <ben@smart-cactus.org>2018-12-07 22:52:25 -0500
commiteb7ba36b8350d07ad89da2afebea4b17deb711ca (patch)
treeba14c062b73266f81d3c40d17540613cd6406d2a /libraries
parent07e02d578538248aa12bd3f5a77c76ccfdc9e0db (diff)
downloadhaskell-eb7ba36b8350d07ad89da2afebea4b17deb711ca.tar.gz
Fix typo in Foldable docs
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/Data/Foldable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs
index 7134b0586e..a7d57f7e62 100644
--- a/libraries/base/Data/Foldable.hs
+++ b/libraries/base/Data/Foldable.hs
@@ -205,7 +205,7 @@ class Foldable t where
-- For a general 'Foldable' structure this should be semantically identical
-- to,
--
- -- @foldl f z = 'List.foldl'' f z . 'toList'@
+ -- @foldl' f z = 'List.foldl'' f z . 'toList'@
--
-- @since 4.6.0.0
foldl' :: (b -> a -> b) -> b -> t a -> b