def composed_fold_step

bendvy-ecs-core@0.1.0.4 · inspector_query.bend:195

import bendvy-ecs-core@0.1.0.4/inspector_query.bend as InspectorQuery
import Base
import inspector_query_projection.bend as Q
import world.bend as W

195def composed_fold_step(~H:Type,~S:Data,~V:Data,~selection:Q.DeclaredSelection<H,S,V>,acc:H & List<&2,ProjectedRow<S,V>>,+target:W.Handle<S>) -> H & List<&2,ProjectedRow<S,V>>:
196  (owner,rows)=acc
197  composed_fold_matched(~H,~S,~V,~Q.project_field(~H,~S,~V,selection),target,rows,Q.matches_field(~H,~S,~V,selection)(owner,target))

Uses (9)

Used by (1)