diff options
author | David Feuer <david.feuer@gmail.com> | 2018-03-05 15:18:05 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-06 13:03:06 -0500 |
commit | 08345bd0e8d237ec3929aaee7613c4f76e07e131 (patch) | |
tree | d2661c6d33bce1d23210ff07f14270fe3da5c197 /nofib | |
parent | 64c0af7517148316b259300b851b966cfbcf3eaf (diff) | |
download | haskell-08345bd0e8d237ec3929aaee7613c4f76e07e131.tar.gz |
Make accumArray and accum stricter
`accumArray` was lazier than documented. `accum` did not have
documented strictness. The extra laziness allowed thunks to build
up in the array. Force the results of applying the accumulating
function to resolve.
Reviewers: hvr, bgamari
Reviewed By: bgamari
Subscribers: alpmestan, rwbarton, thomie, carter
GHC Trac Issues: #14785
Differential Revision: https://phabricator.haskell.org/D4403
Diffstat (limited to 'nofib')
0 files changed, 0 insertions, 0 deletions