Shadow.emit: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/shadow.bend as Shadow Lines 166-167 of cswap-bend-cli@0.1.0.0/daemon/shadow.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&start_line=166&end_line=167 import Base import cswap-bend-cli@0.1.0.0/fs.bend as Fs import cswap-bend-cli@0.1.0.0/fs/write.bend as FsW import cswap-bend-cli@0.1.0.0/act.bend as Act def emit(+r: Sh, +s: Step) -> Act.of(Step): IO.bind(Fs.Res(Unit), Fs.Res(Step), FsW.append(sh_log(r), step_line(s)), u => IO.pure(Fs.Res(Step), Done{s})) Uses (11): 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=Result 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/act.bend&name=of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=Sh https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=Step https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=sh_log https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=step_line https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs/write.bend&name=append https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fs.bend&name=Res