how macro really works by ruchard duncan course reddit

by Dr. Ward Mertz 9 min read

Ever wondered how fusion works? I have some links for you

This is a really good introduction to the ideas with the historical context that takes you from deforestation all the way to the stream fusion: http://www.ccs.neu.edu/home/amal/course/7480-s12/deforestation-notes.pdf

Modeling and solving optimization problems with Haskell

Type-safe modeling for optimization: https://github.com/McMasterU/HashedExpression