[GHC] #9546: filterM is not a good consumer for list fusion

GHC ghc-devs at haskell.org
Fri Sep 19 13:51:20 UTC 2014


#9546: filterM is not a good consumer for list fusion
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.9
            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):

 Replying to [comment:2 nomeata]:
 > LGTM. (I’m a bit doubtful about `INLINE`ing such a rather large
 function, but `mapM` and `sequence` are also `INLINE`, so if it is ok for
 them, I guess it ought to be ok for this).

 Would you be happier if it did a dance with `RULES`?

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


More information about the ghc-tickets mailing list