ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
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)
;;
}