ref: bb00e7717dfd6cf6cb66b9866dae3ea750216177
dir: /lib/std/die.myr/
use "syswrap.use" use "types.use" pkg std = $noret const die : (msg : byte[:] -> void) pkglocal const iassert : (cond : bool, msg : byte[:] -> void) ;; const die = {msg write(2, msg) suicide() } const iassert = {cond, msg if !cond die(msg) ;; }