def aml.rev.n
import bend-osdev-acpi@0.1.1.0/aml.bend as Amlimport Base
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as I
86def aml.rev.n(xs: List<&2, I.AmlNote>, acc: List<&2, I.AmlNote>) -> List<&2, I.AmlNote>:
87 match xs:
88 case Nil{}:
89 acc
90 case Con{x, t}:
91 aml.rev.n(t, Con{x, acc})