IO.join.go: def of Base Import: import Base Lines 285-290 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=285&end_line=290 import Base def IO.join.go(-A: Type, chan: Chan(A), got: Maybe<&1, A>) -> IO(A): match got: case None{}: IO.die(A, 1, "IO.join: the channel was closed") case Some{value}: IO.bind(Unit, A, Chan.close(A, chan), u => IO.pure(A, value)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Chan.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.die https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit