[2,4..10] is not a good list producer
I asked about this in @ghc, and Spencer Janssen had to say "enumFromTo is a good producer, but apparently enumFromThenTo is not". This means it doesn't fuse with good list consumers, forM_ in my case.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Multiple |
| Architecture | Multiple |