Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
DanWaterworth
11y ago
0 comments
Save
Share
I don't believe GHC actually does implement stream fusion. I think stream fusion happens with rewrite rules.
0 comments
3 comments · 1 top-level
top
newest
oldest
riffraff
11y ago
· 2 in thread
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