def AmlSystem.after

bend-osdev-acpi@0.1.1.0 · aml.bend:80

import bend-osdev-acpi@0.1.1.0/aml.bend as Aml
import Base

80# the system after an outcome: its namespace and host
81def AmlSystem.after(-H: Data, s: AmlSystem<H>, o: AmlOutcome<H>) -> AmlSystem<H>:
82  match s o:
83    case AmlSystem{op, w, n, h} AmlOutcome{r, n2, h2, st, nt, d}:
84      AmlSystem{op, w, n2, h2}

Uses (2)

Used by (3)