def read_scope

bendvy-ecs-core@0.1.0.3 · execution_layout_access.bend:100

import bendvy-ecs-core@0.1.0.3/execution_layout_access.bend as ExecutionLayoutAccess
import Base
import bendvy-ecs-core@0.1.0.3/execution_state.bend as State
import bendvy-ecs-core@0.1.0.3/owner_product.bend as Product

100def read_scope(-S:Data,-C:Type,-R:Type,-P:Type,-Rest:Type,-V:Data,lens:Product.Lens<R,P,Rest>,project:P -> P & V,scope:State.Scope<S,C,R>) -> State.Scope<S,C,R> & V:
101  match lens scope:
102    case Product.Lens{take,put} State.Scope{store,resource,handles,tick,prior,notices}:read_scope_taken(S,C,R,P,Rest,V,put,project,store,handles,tick,prior,notices,take(resource))

Uses (4)

Used by (1)