AmlInterp.in.small.chk: def of bend-osdev-acpi@0.1.2.0 Import: import bend-osdev-acpi@0.1.2.0/aml_interp.bend as AmlInterp Lines 1304-1309 of bend-osdev-acpi@0.1.2.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&start_line=1304&end_line=1309 import Base import bend-osdev-word64@0.1.1.1/word64.bend as W import bend-osdev-acpi@0.1.2.0/error.bend as E def in.small.chk(r: Result<&2, &2, E.AcpiError, W.W64>) -> Result<&2, &2, E.AcpiError, W.W64>: match r: case Fail{e}: Fail{e} case Done{+x}: in.small.pick(U32.is_eq(W.W64.hi(x), 0), x) 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=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.small.pick https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/error.bend&name=AcpiError https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.1/word64.bend&name=W64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.1/word64.bend&name=W64.hi