RestoreGraphMapping.source: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_graph_mapping.bend as RestoreGraphMapping Lines 15-18 of bendvy-ecs-core@0.1.0.4/restore_graph_mapping.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_mapping.bend&start_line=15&end_line=18 import Base import bendvy-ecs-core@0.1.0.4/entity_key.bend as Key import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/restore_data.bend as Basic import bendvy-ecs-core@0.1.0.4/relation_types.bend as G def source(~S:Data,descriptor:G.Descriptor,saved:Key.Key,+other:Key.Key,+bindings:List<&2,Basic.Binding>,result:Maybe<&2,W.Handle>,graph:G.Graph,next:G.Graph -> Mapped) -> Mapped: match result: case None{}:MissingBinding{saved} case Some{handle}:target(~S,descriptor,handle,other,Basic.lookup(~S,other,bindings),graph,next) 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=Maybe https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/entity_key.bend&name=Key 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_data.bend&name=Binding https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_data.bend&name=lookup https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_mapping.bend&name=Mapped https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_mapping.bend&name=target https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle