Ops.places: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/view/ops.bend as Ops Lines 278-286 of near-v-framework@0.4.0.0/domain/architecture/view/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&start_line=278&end_line=286 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D def places(ns: List<&2, D.Node>, +prefix: String) -> List<&2, Placed>: match ns: case []: [] case n <> rest: match n: case D.Node{+k, _, _, _, _, _, kids, ins}: List.append(&2, Placed, instance_places(ins, prefix ++ "d_" ++ k ++ "."), List.append(&2, Placed, places(kids, prefix ++ "d_" ++ k ++ "."), places(rest, prefix))) Uses (7): 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=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend&name=Node https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&name=Placed https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&name=instance_places