def dv.prt.all

bend-osdev-acpi@0.1.1.0 · aml_device.bend:132

import bend-osdev-acpi@0.1.1.0/aml_device.bend as AmlDevice
import Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V

132def dv.prt.all(xs: List<&2, V.AmlValue>) -> Result<&2, &2, E.AcpiError, List<&2, AmlPrtEntry>>:
133  match xs:
134    case Nil{}:
135      Done{Nil{}}
136    case Con{x, t}:
137      dv.prt.cons(dv.prt.one(x), dv.prt.all(t))

Uses (7)

Used by (1)