[commit: ghc] master: Remove obsolete comment about the implementation of foldl (f0af351)

git at git.haskell.org git at git.haskell.org
Fri Apr 8 09:16:32 UTC 2016


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

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

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

commit f0af351d4a0760751e94f626c46c09def0675c94
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Apr 8 11:09:26 2016 +0200

    Remove obsolete comment about the implementation of foldl


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

f0af351d4a0760751e94f626c46c09def0675c94
 libraries/base/GHC/List.hs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libraries/base/GHC/List.hs b/libraries/base/GHC/List.hs
index 92ded0d..2ef0105 100644
--- a/libraries/base/GHC/List.hs
+++ b/libraries/base/GHC/List.hs
@@ -182,10 +182,6 @@ filterFB c p x r | p x       = x `c` r
 --
 -- The list must be finite.
 
--- We write foldl as a non-recursive thing, so that it
--- can be inlined, and then (often) strictness-analysed,
--- and hence the classic space leak on foldl (+) 0 xs
-
 foldl :: forall a b. (b -> a -> b) -> b -> [a] -> b
 {-# INLINE foldl #-}
 foldl k z0 xs =



More information about the ghc-commits mailing list