Slit.slit.at: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/slit.bend as Slit Lines 54-59 of bend-osdev-acpi@0.1.1.0/slit.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/slit.bend&start_line=54&end_line=59 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B def slit.at(ok: Bool, +n: Nat, +m: B.Octets, +i: Nat, j: Nat) -> Maybe<&2, U32>: match ok: case False{}: None{} case True{}: B.Octets.at(m, Nat.add(Nat.mul(i, n), j)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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.at