Run.read.all: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/run.bend as Run Lines 68-77 of ezx@1.11.0.0/src/lock/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/run.bend&start_line=68&end_line=77 import Base import ezx@1.11.0.0/src/io/file.bend as F import ezx@1.11.0.0/src/lock/world.bend as W # every listed path, read def read.all(ps: List<&2, String>) -> IO(List<&2, W.Source>): match ps: case []: IO.pure(List<&2, W.Source>, []) case +h <> t: do IO>: m : Maybe<&2, String> <- F.read(h) rest : List<&2, W.Source> <- read.all(t) return W.Source{h, F.text_of(m)} <> rest Uses (9): 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=IO.pure 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=ezx@1.11.0.0/src/io/file.bend&name=read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=text_of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Source