Add strict variant of iterate
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 24 Aug 2017 15:47:40 +0000 (11:47 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 25 Aug 2017 21:23:48 +0000 (17:23 -0400)
commita67b66e663d159c219750a5044ccf553c4b21bdb
tree8a28a36ec984750206374f8045be08b8020a294a
parentdd89a1387aef5280152c03cf7e2a98b8e73216f0
Add strict variant of iterate

Summary: This closes the nearly-eight-year-old #3474.

Test Plan: Validate

Reviewers: RyanGlScott, austin, hvr

Subscribers: rwbarton, thomie

GHC Trac Issues: #3474

Differential Revision: https://phabricator.haskell.org/D3870
libraries/base/Data/List.hs
libraries/base/Data/OldList.hs
libraries/base/GHC/List.hs
libraries/base/changelog.md
libraries/base/tests/T3474.hs [new file with mode: 0644]
libraries/base/tests/T3474.stdout [new file with mode: 0644]
libraries/base/tests/all.T