Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
DanWaterworth
11y ago
0 comments
Share
I don't believe GHC actually does implement stream fusion. I think stream fusion happens with rewrite rules.
0 comments
default
newest
oldest
riffraff
11y ago
pardon my ignorance, but what would be the difference between the two? Don't rewrite rules happen in GCH anyway?
DanWaterworth
OP
11y ago
Sorry, 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
11y ago
ah that makes sense, thanks.
j
/
k
navigate · click thread line to collapse