ref: 2c8775977321483c7a16b55c7884612f9f770e6a
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)
;;
}