
#9368: Add strictly accumulating scanl' to Data.List -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 | Type of failure: hour) | None/Unknown Blocked By: | Test Case: Related Tickets: #9345 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Joachim Breitner wrote a strictly accumulating fusable `scanl'` in a comment on #9345, and demonstrated that it can produce spectacularly good code. Therefore, it seems like a good thing to have in Data.List. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9368 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler