def part_home
import near-architecture@0.9.1.0/arc.bend as Arcimport 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))