
#9368: Add strictly accumulating scanl' to Data.List -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.3 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 Operating System: | hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: #9345 None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by dfeuer): Based on the structure of the code, I think we probably want a rewrite rule for `tail $ scanl' ...` to avoid adding the first element instead of trying to take it off later, which doesn't work so well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9368#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler