ref: 792f79ee6dd1012e4b9d27837476b0e234a78b0c
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
}