ref: 8e6d42ba014b19f789f59ec1ee1576e848f67773
dir: /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)
;;
}