[commit: ghc] master: Link to iterate' doesn't work. (6a1e7e7)

git at git.haskell.org git at git.haskell.org
Thu Jul 12 15:36:43 UTC 2018


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

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

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

commit 6a1e7e7623cf4fdf5759bb9e8784da4ab65a9cb5
Author: David Sanders <insideoutclub at gmail.com>
Date:   Fri Jun 29 09:27:33 2018 -0700

    Link to iterate' doesn't work.


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

6a1e7e7623cf4fdf5759bb9e8784da4ab65a9cb5
 libraries/base/GHC/List.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/base/GHC/List.hs b/libraries/base/GHC/List.hs
index 793ff49..c6a1706 100644
--- a/libraries/base/GHC/List.hs
+++ b/libraries/base/GHC/List.hs
@@ -444,7 +444,7 @@ minimum xs              =  foldl1 min xs
 -- > iterate f x == [x, f x, f (f x), ...]
 --
 -- Note that 'iterate' is lazy, potentially leading to thunk build-up if
--- the consumer doesn't force each iterate. See 'iterate\'' for a strict
+-- the consumer doesn't force each iterate. See 'iterate'' for a strict
 -- variant of this function.
 {-# NOINLINE [1] iterate #-}
 iterate :: (a -> a) -> a -> [a]
@@ -461,7 +461,7 @@ iterateFB c f x0 = go x0
  #-}
 
 
--- | 'iterate\'' is the strict version of 'iterate'.
+-- | 'iterate'' is the strict version of 'iterate'.
 --
 -- It ensures that the result of each application of force to weak head normal
 -- form before proceeding.



More information about the ghc-commits mailing list