ref: 3e9fc44da6d6f27d911211d6b8fbced97c0b4812
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.Err msg: std.put("Failed to read file: {}\n", msg)
;;
}