ref: 6c8c2b6b32f8b567703dea1aed5ea1fc9e5caf23
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)
;;
}