RelationCleanup.node_blocks: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_cleanup.bend as RelationCleanup Lines 86-90 of bendvy-ecs-core@0.1.0.4/relation_cleanup.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/relation_cleanup.bend&start_line=86&end_line=90 import Base import relation_types.bend as G import relation_commands.bend as A import world.bend as W def node_blocks(~S:Data,~C:Type,~R:Type,~E:Data,~clear:C -> W.Handle -> C & List<&2,A.Notice>,~record:W.Handle -> A.Notice,remaining:Nat,result:CleanupResult,+edges:List<&2,G.Edge>,+namespace:U32,+descriptors:List<&2,G.Descriptor>) -> CleanupResult: match remaining result: case _ Complete{world}: Complete{world} case 0n result: block(~S,~C,~R,~E,~clear,~record,result,edges,namespace,descriptors) case 1n+rest result: node_blocks(~S,~C,~R,~E,~clear,~record,rest,block(~S,~C,~R,~E,~clear,~record,result,edges,namespace,descriptors),edges,namespace,descriptors) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_cleanup.bend&name=CleanupResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_cleanup.bend&name=block https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Notice 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=Edge https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle