def hst.rev
import bend-osdev-acpi@0.1.1.0/aml_host.bend as AmlHostimport Base
106def hst.rev(xs: List<&2, AmlHostOp>, acc: List<&2, AmlHostOp>) -> List<&2, AmlHostOp>:
107 match xs:
108 case Nil{}:
109 acc
110 case Con{x, t}:
111 hst.rev(t, Con{x, acc})