Enums§
- Binding 🔒A stand in for the types of bindings we might encounter.
Functions§
- Asserts that
expr
in “LetRec-major” form. - Extracts exposed bindings into
bindings
. - Harvest any safe-to-lift non-recursive bindings from a
LetRec
expression. - Harvest any safe-to-lower non-recursive suffix of binding from a
LetRec
expression. - Hoist all exposed bindings to the root of the expression.
- Performs a post-order traversal of the
LetRec
nodes at the root of an expression. - Promotes all
Let
andLetRec
nodes to the roots of their expressions.