Fs.read_file: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fs.bend as Fs Lines 79-81 of cswap-bend-cli@0.1.0.0/fs.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&start_line=79&end_line=81 import Base # The whole file as text. Fail{(errno, message)} when it cannot be read. def read_file(path: String) -> IO(Res(String)): IO.bind(Res(File), Res(String), File.open(path, "r"), read.open) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File.open https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=Res https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=read.open