ref: 58550115b787023de68c7f760e8dd68c7d57c719
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 }