InspectorQuery.composed_lookup_valid: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/inspector_query.bend as InspectorQuery Lines 168-171 of bendvy-ecs-core@0.1.0.4/inspector_query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&start_line=168&end_line=171 import Base import world.bend as W def composed_lookup_valid(~H:Type,~S:Data,~V:Data,matches:H -> W.Handle -> H & Bool,project:H -> W.Handle -> H & V,+target:W.Handle,observed:H & Bool) -> H & Result<&2,&2,LookupError,ProjectedRow>: match observed: case (owner,False{}):composed_missing(~H,~S,~V,target,owner) case (owner,True{}):composed_lookup_matched(~H,~S,~V,project,target,matches(owner,target)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=LookupError https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=ProjectedRow https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=composed_lookup_matched https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/inspector_query.bend&name=composed_missing https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle