Write.put.close: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fs/write.bend as Write Lines 17-19 of cswap-bend-cli@0.1.0.0/fs/write.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fs/write.bend&start_line=17&end_line=19 import Base import cswap-bend-cli@0.1.0.0/fs.bend as Fs def put.close(fr: File & Fs.Res(Unit)) -> IO(Fs.Res(Unit)): (f, r) = fr IO.bind(Unit, Fs.Res(Unit), File.close(f), u => IO.pure(Fs.Res(Unit), r)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File.close 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=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=Res