def find
import ezx@1.11.0.0/src/ledger/manifest.bend as Manifestimport Base
319# the dependency of this name, or one with empty fields
320def find(ds: List<&2, Dep>, +name: String) -> Dep:
321 match ds:
322 case []:
323 Dep{"", "", "", Hub{""}}
324 case h <> t:
325 find.at(h, find(t, name), name)