Check.show_ok: def of bend-osdev-bpf@0.1.0.0 Import: import bend-osdev-bpf@0.1.0.0/check.bend as Check Lines 16-21 of bend-osdev-bpf@0.1.0.0/check.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bpf@0.1.0.0/check.bend&start_line=16&end_line=21 import Base import bend-osdev-bpf@0.1.0.0/insn.bend as I def show_ok(r: Result<&2, &2, I.BpfError, Unit>) -> String: match r: case Fail{e}: "error: " ++ I.BpfError.show(e) case Done{u}: "ok" Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-osdev-bpf@0.1.0.0/insn.bend&name=BpfError https://jend.leeeet.dev/definition.txt?path=bend-osdev-bpf@0.1.0.0/insn.bend&name=BpfError.show