ref: b8c37ce00d060d934f58b1b01bdbbbe27dc159f0
dir: /test/catfile.myr/
/* checks that we can read a data file. */
use std
const main = {args : byte[:][:]
var r
r = std.slurp("data/catfile-in")
match r
| `std.Ok dat: std.write(1, dat)
| `std.Fail msg: std.put("Failed to read file: %s\n", msg)
;;
-> 0
}