[GHC] #9356: scanl does not participate in stream fusion

GHC ghc-devs at haskell.org
Sun Aug 31 22:53:04 UTC 2014


#9356: scanl does not participate in stream 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 dfeuer):

 It looks like strictness analysis can work its magic in nice cases and
 unbox the accumulator, erasing the let. I think this is probably good to
 go.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9356#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list