3 ms·
I don't believe GHC actually does implement stream fusion. I think stream fusion happens with rewrite rules.
by DanWaterworth 12y ago
I don't believe GHC actually does implement stream fusion. I think stream fusion happens with rewrite rules.
- riffraff 12y agopardon my ignorance, but what would be the difference between the two? Don't rewrite rules happen in GCH anyway?
- DanWaterworth 12y agoSorry, I should have been clearer. The rewriting happens in GHC, but it's the application programmer who creates the rules. So, stream fusion isn't implemented by the compiler AFAIK.
- riffraff 12y agoah that makes sense, thanks.