NLA-lib Explorer

NLAlib.Ops.Stmt.splitAllocations

Library · def

Split the leading scoped allocations from a statement. The remaining body is the actual subtree, including its frame; formats and size expressions are retained verbatim.

NLAlib.Ops.Stmt.splitAllocations {Op Tst : Type} :
  Ops.Stmt Op Tst → List (Ops.StorageFormat × Ops.IExp) × Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Logic.Allocation.