def read_text

cswap-bend-cli@0.1.0.0 · tui/run.bend:95

import cswap-bend-cli@0.1.0.0/tui/run.bend as Run
import Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs

95def read_text(+path: String) -> IO(String):
96  IO.bind(Fs.Res(String), String, Fs.read_file(path), r => IO.pure(String, text_pick(r)))

Uses (7)

Used by (1)