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