def plan.recorded

bolt@1.27.0.0 · src/syntax/bind.bend:629

import bolt@1.27.0.0/src/syntax/bind.bend as Bind
import Base

629# a binder onto the output, when there is one
630def plan.recorded(rec: Bool, +bb: Bind, out: Out) -> Out:
631  match rec:
632    case True{}:
633      Out{binds, uses, scopes} = out
634      Out{bb <> binds, uses, scopes}
635    case False{}:
636      out

Uses (4)

Used by (1)