Run.loop.step: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/fetch/run.bend as Run Lines 82-91 of ezx@1.11.0.0/src/fetch/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/fetch/run.bend&start_line=82&end_line=91 import Base import ezx@1.11.0.0/src/lock/run.bend as Run import ezx@1.11.0.0/src/fetch/world.bend as FW import ezx@1.11.0.0/src/fetch/plan.bend as FP # the planner's step: its questions answered and the loop gone round again, # or its plan run def loop.step(st: FP.Step, +lib: String, world: FW.World, go: FW.World -> IO(Unit)) -> IO(Unit): match st: case FP.Asking{asks}: do IO: rs : List<&2, FW.Reply> <- answer.all(lib, asks) go(more(world, rs)) case FP.Run{pl}: Run.exec.plan(lib, pl) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=Step https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/run.bend&name=answer.all https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/run.bend&name=more https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/world.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/run.bend&name=exec.plan