Investigate rewriting `>>=` to `*>` or `>>` for appropriate types
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.9 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Core Libraries |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | core-libraries-committee@haskell.org |
Operating system | |
Architecture |