Run.loop: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/run.bend as Run Lines 98-105 of ezx@1.11.0.0/src/pub/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/run.bend&start_line=98&end_line=105 import Base import ezx@1.11.0.0/src/pub/world.bend as PW import ezx@1.11.0.0/src/pub/plan.bend as PP # the loop, under fuel. The walk asks for one file a round, so the fuel is a # guard against a planner that keeps asking, not a limit on a package. def loop(fuel: Nat, +lib: String, +world: PW.World) -> IO(Unit): match fuel: case 0n: IO.die(Unit, 1, "ez: ez publish kept asking questions") case 1n+f: loop.step(PP.step(world), lib, world, w => loop(f, lib, w)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.die https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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/pub/plan.bend&name=step https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/run.bend&name=loop.step https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/world.bend&name=World