ref: 68b18a7fba8313ad5b1d8b4c6be61e3b8b126304
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) ;; }