ref: 8cd117e55ac16cda7d40738cbd48fc8f92066da4
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
}