def part_home

near-architecture@0.9.1.0 · arc.bend:392

import near-architecture@0.9.1.0/arc.bend as Arc
import Base

392# ---- looking things up ----
393def part_home(+k: String, xs: List<&2, Part>) -> String:
394  match xs:
395    case []:
396      ""
397    case +p <> rest:
398      pick_str(str_eq(k, pkey(p)), pin(p), part_home(k, rest))

Uses (7)

Used by (1)