def kids.named
import ezx@1.11.0.0/src/lock/lock.bend as Lockimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
83# every name the sources of one package import
84def kids.named(srcs: List<&2, String>) -> List<&2, String>:
85 match srcs:
86 case []:
87 []
88 case h <> t:
89 List.append(&2, String, named(K.scan.mods(K.scan(h))), kids.named(t))