Generation.on_host: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/generation.bend as Generation Lines 34-36 of bend-trace-context@0.2.0.0/generation.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/generation.bend&start_line=34&end_line=36 import Base # The host source has no state to hand back. def on_host(-A: Type, action: IO(Unit & A)) -> IO(A): IO.bind(Unit & A, A, action, done => IO.pure(A, Pair.snd(Unit, A, done))) Uses (6): 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=Pair.snd https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit