Ops.around: 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 180-189 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=180&end_line=189 import Base import near-v-framework@0.4.0.0/general/compound/ops.bend as CO import near-v-framework@0.4.0.0/general/compound/edge/type.bend as E # The keys around the view's own: whatever its edges reach, once each. def around(es: List<&2, E.Edge>, +ins: List<&2, String>, +seen: List<&2, String>) -> List<&2, String>: match es: case []: [] case e <> rest: match e: case E.Edge{+x, +y, _, _}: keep_new(Bool.not(CO.has(ins, x) || CO.has(seen, x)), x, keep_new(Bool.not(CO.has(ins, y) || CO.has(x <> seen, y) || String.eq(x, y)), y, around(rest, ins, x <> y <> seen))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&name=keep_new https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/general/compound/edge/type.bend&name=Edge https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/general/compound/ops.bend&name=has