Ezx.go.end: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/main.bend as Ezx Lines 108-115 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=108&end_line=115 import Base import ezx@1.11.0.0/src/ez/line.bend as L # a status decided before any command ran, exited with; a command's own end # is its own def go.end(st: L.Status) -> IO(Unit): match st: case L.Exits{+code}: go.exit(U32.is_eq(code, 0), code) case L.Ends{}: IO.pure(Unit, Unit{}) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_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=Status https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/main.bend&name=go.exit