[GHC] #9797: Investigate rewriting `>>=` to `*>` or `>>` for appropriate types

GHC ghc-devs at haskell.org
Wed Nov 12 17:24:25 UTC 2014


#9797: Investigate rewriting `>>=` to `*>` or `>>` for appropriate types
-------------------------------------+-------------------------------------
       Reporter:  dfeuer             |                   Owner:  dfeuer
           Type:  task               |                  Status:  new
       Priority:  normal             |               Milestone:  7.10.1
      Component:  Core Libraries     |                 Version:  7.9
       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:
-------------------------------------+-------------------------------------
 When we see `m >>= (\_ -> n)` with a type that admits an optimized `>>` or
 `<$`, we should try to take advantage of that. I don't currently know if
 this applies to any types under "GHC HQ" control.

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


More information about the ghc-tickets mailing list