Cap.warn: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/cap.bend as Cap Lines 76-82 of ezx@1.11.0.0/src/share/cap.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/cap.bend&start_line=76&end_line=82 import Base # a warning printed once when nothing is capping the jobs def warn(on: Bool) -> IO(Unit): match on: case True{}: IO.pure(Unit, Unit{}) case False{}: IO.write(warning() ++ "\n") Uses (7): 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.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.write https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append 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/share/cap.bend&name=warning