[commit: ghc] master: Fix typo in Foldable docs (eb7ba36)

git at git.haskell.org git at git.haskell.org
Sat Dec 8 04:28:50 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/eb7ba36b8350d07ad89da2afebea4b17deb711ca/ghc

>---------------------------------------------------------------

commit eb7ba36b8350d07ad89da2afebea4b17deb711ca
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date:   Sat Nov 24 18:40:17 2018 +0100

    Fix typo in Foldable docs


>---------------------------------------------------------------

eb7ba36b8350d07ad89da2afebea4b17deb711ca
 libraries/base/Data/Foldable.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs
index 7134b05..a7d57f7 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



More information about the ghc-commits mailing list