Impl.PipeSession.wrote: def of bend-pipe-session@0.2.0.0 Import: import bend-pipe-session@0.2.0.0/impl.bend as Impl Lines 111-129 of bend-pipe-session@0.2.0.0/impl.bend: https://jend.leeeet.dev/read.txt?path=bend-pipe-session@0.2.0.0/impl.bend&start_line=111&end_line=129 import Base import bend-stdio-pipes@0.2.0.0/impl.bend as Stdio def PipeSession.wrote( pid: U32, wrote: File & Result<&1, &1, U32 & String, Unit>, out: File, +line_cap: U32, +until: String ) -> IO(PipeSession & Result<&1, &1, U32 & String, List<&2, String>>): match wrote: case (input, Fail{error}): IO.pure( PipeSession & Result<&1, &1, U32 & String, List<&2, String>>, (PipeSession{pid, input, out, line_cap}, Fail{error}) ) case (input, Done{_}): do IO>>: read: File & Result<&1, &1, U32 & String, Maybe> <- Stdio.read_line(out, line_cap) answer: File & Result<&1, &1, U32 & String, List<&2, String>> <- PipeSession.ask.go(4294967295n, Heard.read(read, until), until, line_cap, []) PipeSession.asked(pid, input, line_cap, answer) Uses (17): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-pipe-session@0.2.0.0/impl.bend&name=Heard.read https://jend.leeeet.dev/definition.txt?path=bend-pipe-session@0.2.0.0/impl.bend&name=PipeSession https://jend.leeeet.dev/definition.txt?path=bend-pipe-session@0.2.0.0/impl.bend&name=PipeSession.ask.go https://jend.leeeet.dev/definition.txt?path=bend-pipe-session@0.2.0.0/impl.bend&name=PipeSession.asked https://jend.leeeet.dev/definition.txt?path=bend-stdio-pipes@0.2.0.0/impl.bend&name=read_line