def val.dig.head

bend-osdev-acpi@0.1.1.0 · aml_value.bend:121

import bend-osdev-acpi@0.1.1.0/aml_value.bend as AmlValue
import Base

121def val.dig.head(hex: Bool, xs: List<&2, U32>) -> Maybe<&2, U32>:
122  match hex xs:
123    case _ Nil{}:
124      None{}
125    case True{} Con{+h, t}:
126      val.hexdig(h)
127    case False{} Con{+h, t}:
128      val.decdig(h)

Uses (6)

Used by (3)