ref: 05e04ed1df3c315aa69b2b5c16f16e83922d5aed
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)
;;
}