def sys.read

ezsys@0.1.0.0 · src/sys.bend:103

import ezsys@0.1.0.0/src/sys.bend as Sys
import 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)

Uses (9)

Used by (1)