diff options
author | David Sanders <insideoutclub@gmail.com> | 2018-06-29 09:27:33 -0700 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-12 11:25:03 -0400 |
commit | 6a1e7e7623cf4fdf5759bb9e8784da4ab65a9cb5 (patch) | |
tree | bdb4254da2248f0f3b7d14133b1720a7209b3588 /libraries/base/GHC/List.hs | |
parent | 7527d1fef3927d0d9ff937645b958d9c40673540 (diff) | |
download | haskell-6a1e7e7623cf4fdf5759bb9e8784da4ab65a9cb5.tar.gz |
Link to iterate' doesn't work.
Diffstat (limited to 'libraries/base/GHC/List.hs')
-rw-r--r-- | libraries/base/GHC/List.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/List.hs b/libraries/base/GHC/List.hs index 793ff499e8..c6a1706f62 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. |