Run.run: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/run.bend as Run Lines 107-114 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=107&end_line=114 import Base import snap@1.4.0.0/main.bend as R import ezx@1.11.0.0/src/io/file.bend as F import ezx@1.11.0.0/src/share/env.bend as Env import ezx@1.11.0.0/src/pub/world.bend as PW # `ez publish`: the package the project's ledger names, checked, sent, and # the hash bend answered checked against ez's own def run() -> IO(Unit): do IO: lib : String <- Env.lib() +pwd : String <- R.exec(["pwd"]) led : Maybe<&2, String> <- F.read(PW.toml()) loop(rounds(), lib, PW.World{String.trim(R.text(pwd)), led, []}) Uses (15): 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=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.trim 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/io/file.bend&name=read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/run.bend&name=loop https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/run.bend&name=rounds https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/world.bend&name=toml https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/env.bend&name=lib https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=text