ExecutionDeferredPlan.distances: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend as ExecutionDeferredPlan Lines 84-87 of bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend&start_line=84&end_line=87 import Base def distances(order:List<&2,Node>,+nodes:List<&2,Node>,+edges:List<&2,Edge>,state:State) -> State: match order: case []:state case node <> rest:distances(rest,nodes,edges,visit(node,edges,nodes,state)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend&name=Edge https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend&name=Node https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend&name=State https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_deferred_plan.bend&name=visit