Skip to content

Add strictly accumulating scanl' to Data.List

Joachim Breitner wrote a strictly accumulating fusable scanl' in a comment on #9345 (closed), and demonstrated that it can produce spectacularly good code. Therefore, it seems like a good thing to have in Data.List.

Trac metadata
Trac field Value
Version 7.8.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC ekmett, hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information