Function mz_transform::normalize_lets::let_motion::extract_bindings

source ยท
fn extract_bindings(expr: &mut MirRelationExpr, bindings: &mut Vec<Binding>)
Expand description

Extracts exposed bindings into bindings.

After this call expr will contain no let or letrec bindings, though the bindings it introduces to bindings may themselves contain such bindings (and they should be further processed if the goal is to maximally extract let bindings).