Ops.uses_edges: 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 27-36 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=27&end_line=36 import Base import near-v-framework@0.4.0.0/general/compound/edge/type.bend as E import near-v-framework@0.4.0.0/domain/architecture/relationship/type.bend as Rel # ---- the architecture as a compound graph: the system's tree, the environment's leaves, and every # element's relationships as edges from it ---- def uses_edges(+src: String, us: List<&2, Rel.Relationship>) -> List<&2, E.Edge>: match us: case []: [] case u <> rest: match u: case Rel.Relationship{d, desc, t, _}: E.Edge{src, d, desc, t} <> uses_edges(src, 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=String https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/relationship/type.bend&name=Relationship https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/general/compound/edge/type.bend&name=Edge