#9356: scanl does not participate in list fusion -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: Runtime | Blocked By: performance bug | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by Joachim Breitner <mail@…>): In [changeset:"d45693a5384460d22a6437b9cda463b4ec4b6a37/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="d45693a5384460d22a6437b9cda463b4ec4b6a37" Make scanl fuse; add scanl' Summary: Make scanl a good producer and a good consumer for fold/build fusion. Add strictly-accumulating scanl', which is required for Data.List.inits. Reviewers: nomeata, austin Reviewed By: austin Subscribers: spacekitteh, thomie, carter, ezyang, simonmar Differential Revision: https://phabricator.haskell.org/D314 GHC Trac Issues: #9356 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9356#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler