ExecutionQuerySchema.cached_cell: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_query_schema.bend as ExecutionQuerySchema Lines 55-58 of bendvy-ecs-core@0.1.0.3/execution_query_schema.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_schema.bend&start_line=55&end_line=58 import Base import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as L import bendvy-ecs-core@0.1.0.3/execution_query_matches.bend as Q import bendvy-ecs-core@0.1.0.3/lifecycle.bend as Life def cached_cell(-P:Type,-V:Data,+offset:U32,+stamp:Life.Stamp,result:Array>> & Maybe<&1,L.Viewed>) -> Array>> & Q.Row: match result: case (values,None{}):(values,Q.StampedRow{offset,None{},stamp}) case (values,Some{L.Viewed{owner,+view}}):(Array.set(Maybe<&1,L.Viewed>,values,U32.mod(offset,8),Some{L.Viewed{owner,view}}),Q.StampedRow{offset,Some{view},stamp}) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Viewed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_query_matches.bend&name=Row https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Stamp