RestoreGraphValidation.groups: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_graph_validation.bend as RestoreGraphValidation Lines 36-39 of bendvy-ecs-core@0.1.0.4/restore_graph_validation.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_validation.bend&start_line=36&end_line=39 import Base import bendvy-ecs-core@0.1.0.4/restore_graph_data.bend as R import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Basic import bendvy-ecs-core@0.1.0.4/relation_types.bend as G def groups(~S:Data,values:List<&2,R.Group>,+descriptor:G.Descriptor,+entities:List<&2,Basic.Entity>,graph:G.Graph,next:G.Graph -> R.GraphResult) -> R.GraphResult: match values: case []:next(graph) case R.Group{target,members} <> rest:sources(~S,members,target,descriptor,entities,graph,graph => groups(~S,rest,descriptor,entities,graph,next)) Uses (7): 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.4/relation_types.bend&name=Descriptor https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_types.bend&name=Graph https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_data.bend&name=GraphResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_data.bend&name=Group https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_validation.bend&name=sources https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_data.bend&name=Entity