Slide 8
Slide 8 text
Spineless Tagless G-Machine Operational semantics
Updateable flag: boolean, either ”u” (updatable) or ”n” (not updatable)
Our language is lazy, so after evaluation of suspended computation, we
should update something, to not evaluate the same code again
but maybe already during compilation we can deduce, that we won’t have
to update some closures?
functions with non-empty argument list - they don’t need updating
partial applications - the same ( vs \n {} -> f {x1, ..., xm} )
saturated constructor - the same
thunks - these are rather updatable
Rafal Lasocha Haskell compiler