ref: f15c3cc3fc96cc9cd383f53d6dd662bfb835a1b2
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: {}\n", msg)
;;
}