def hst.rev

bend-osdev-acpi@0.1.1.0 · aml_host.bend:106

import bend-osdev-acpi@0.1.1.0/aml_host.bend as AmlHost
import 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})

Uses (2)

Used by (1)