Ezx.go.say: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/main.bend as Ezx Lines 87-98 of ezx@1.11.0.0/src/ez/main.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/main.bend&start_line=87&end_line=98 import Base import ezx@1.11.0.0/src/share/args.bend as Args import ezx@1.11.0.0/src/ez/line.bend as L # what a line says: the command it names run, its help on stdout, or what # was wrong with it on stderr, with a hint for `ez sync` def go.say(how: L.Line, +as: List<&2, String>) -> IO(Unit): match how: case L.Runs{sub, +m}: dispatch(sub, m, as) case L.Shows{text}: IO.write(text) case L.Misuse{text}: do IO: IO.print_err(text) hint.sync(String.eq(Args.at(as, 0n), "sync")) Uses (12): 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.print_err https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.write 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=String.eq 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/ez/line.bend&name=Line https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/main.bend&name=dispatch https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/main.bend&name=hint.sync https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/args.bend&name=at