def exec.all

ezx@1.11.0.0 · src/lock/run.bend:638

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/lock/plan.bend as Plan

638# every effect, in order
639def exec.all(+lib: String, es: List<&2, Plan.Effect>) -> IO(Unit):
640  match es:
641    case []:
642      IO.pure(Unit, Unit{})
643    case h <> t:
644      do IO<Unit>:
645        exec(lib, h)
646        exec.all(lib, t)

Uses (8)

Used by (2)