def append
import cswap-bend-cli@0.1.0.0/fs/write.bend as Writeimport Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs
92# Append `data` to a file, creating it (a log line at a time).
93def append(path: String, data: String) -> IO(Fs.Res(Unit)):
94 IO.bind(Fs.Res(File), Fs.Res(Unit), File.open(path, "a"), r => put.write(data, r))