ref: e07b79bf077459eda3d7d59cbaf1b4f431e3b2c6
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.Success dat: std.write(1, dat) | `std.Failure msg: std.put("Failed to read file: %s\n", msg) ;; -> 0 }