AmlName.nm.show.segs: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlName Lines 357-366 of bend-osdev-acpi@0.1.1.0/aml_name.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_name.bend&start_line=357&end_line=366 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B def nm.show.segs(ss: List<&2, B.Octets>, first: Bool) -> String: match ss: case Nil{}: "" case Con{s, t}: match first: case True{}: B.Octets.to_string(s) ++ nm.show.segs(t, False{}) case False{}: "." ++ B.Octets.to_string(s) ++ nm.show.segs(t, False{}) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.to_string