ref: 5fcbb16c1fc1b1cc64ce149f9b1adf352a1da01c
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)
;;
}