Check.back: def of bend-osdev-cbc@0.1.0.0 Import: import bend-osdev-cbc@0.1.0.0/check.bend as Check Lines 42-48 of bend-osdev-cbc@0.1.0.0/check.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-cbc@0.1.0.0/check.bend&start_line=42&end_line=48 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B import bend-osdev-mode-core@0.1.0.0/mode_core.bend as M # whether r is m def back(r: Result<&2, &2, M.CmError, B.Octets>, +m: B.Octets) -> String: match r: case Fail{e}: "fail " ++ err(e) case Done{o}: Bool.show(B.Octets.is_eq(o, m)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.show 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=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.is_eq https://jend.leeeet.dev/definition.txt?path=bend-osdev-cbc@0.1.0.0/check.bend&name=err https://jend.leeeet.dev/definition.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&name=CmError