def in.drop.temps
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S
1654def in.drop.temps(ts: List<&2, String>, ns: S.AmlNs) -> S.AmlNs:
1655 match ts:
1656 case Nil{}:
1657 ns
1658 case Con{t, rest}:
1659 in.drop.temps(rest, S.AmlNs.remove(ns, t))