Ops.instances: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops Lines 244-252 of near-v-framework@0.4.0.0/domain/architecture/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&start_line=244&end_line=252 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D # ---- well formed: keys are unique, every relationship and every instance names something that exists ---- def instances(ns: List<&2, D.Node>) -> List<&2, String>: match ns: case []: [] case n <> rest: match n: case D.Node{_, _, _, _, _, _, kids, ins}: List.append(&2, String, ins, List.append(&2, String, instances(kids), instances(rest))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend&name=Node