Ezx.go.exit: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/main.bend as Ezx Lines 100-106 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=100&end_line=106 import Base # a status that is 0 ends nothing, and any other exits with it def go.exit(zero: Bool, +code: U32) -> IO(Unit): match zero: case True{}: IO.pure(Unit, Unit{}) case False{}: IO.die(Unit, code, "") Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit