AmlInterp.in.pad: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp Lines 2162-2169 of bend-osdev-acpi@0.1.1.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&start_line=2162&end_line=2169 import Base import bend-osdev-acpi@0.1.1.0/aml_value.bend as V def in.pad(n: Nat, xs: List<&2, V.AmlValue>) -> List<&2, V.AmlValue>: match n xs: case 0n _: xs case 1n+p Nil{}: Con{V.AmlUninit{}, in.pad(p, Nil{})} case 1n+p Con{h, t}: Con{h, in.pad(p, t)} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_value.bend&name=AmlValue