ref: 545ee279bf3bee642c0cc97c2fef4a699f96393f
dir: /libstd/die.myr/
use "sys.use" use "types.use" pkg std = const die : (msg : byte[:] -> void) const assert : (cond : bool, msg : byte[:] -> void) ;; const die = {msg write(2, msg) kill(getpid(), 6) } const assert = {cond, msg if !cond die(msg) ;; }