OwnedCompose.selected_fields: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/owned_compose.bend as OwnedCompose Lines 81-85 of bendvy-ecs-core@0.1.0.4/owned_compose.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/owned_compose.bend&start_line=81&end_line=85 import Base import world.bend as W import transaction.bend as T import compose.bend as Q import capabilities.bend as Cap # Separate closed template fields avoid constructing runtime Plan for projections. def selected_fields(~S: Data,~Store: Type,~R: Type,~E: Data,~Ops: Type -> Type,~H: Type,~A: Data,~U: Data,~Out: Data,~caps:Ops(H),~select:Q.Frame -> Q.Frame & Bool,~enter:Q.Frame -> H,~leave:H -> Q.Frame,~body: @-H: Type -> @-caps: Ops(H) -> A -> H -> H & (T.Outcome & Out),args: A,next: T.Tx,E> -> T.Tx,E> & (T.Outcome> & List<&2,Out>),observed: Q.Frame & Bool) -> T.Tx,E> & (T.Outcome> & List<&2,Out>): match observed: case (Q.Frame{tx,_,_,_},False{}): next(tx) case (frame,True{}): body_returned(~S,~Store,~R,~E,~U,~Out,next,left(~S,~Store,~R,~E,~H,~U,~Out,~leave,Cap.invoke(~Ops,~A,~(T.Outcome & Out),~body,~H,~caps,args,enter(frame)))) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=bendvy-ecs-core@0.1.0.4/capabilities.bend&name=invoke https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_compose.bend&name=body_returned https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_compose.bend&name=left https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Tx https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World