def sys.read
import ezsys@0.1.0.0/src/sys.bend as Sysimport Base
103# a whole file's text
104def sys.read(path: String) -> IO(Result<&1, &1, U32 & String, String>):
105 IO.bind(Result<&1, &1, U32 & String, File>,
106 Result<&1, &1, U32 & String, String>, File.open(path, "r"),
107 sys.read.opened)