def current

bendvy-ecs-core@0.1.0.4 · ordinary_machine_operations.bend:9

import bendvy-ecs-core@0.1.0.4/ordinary_machine_operations.bend as OrdinaryMachineOperations
import Base
import bendvy-ecs-core@0.1.0.4/machine.bend as M
import bendvy-ecs-core@0.1.0.4/transaction.bend as Tx
import bendvy-ecs-core@0.1.0.4/world.bend as W

9# Schema-authored closed lenses/comparator grant operations to an opaque owner.
10# The existing declaration remains unchanged; names carry no authority.
11def current(~S:Data,~K:Data,~V:Data,~C:Type,~R:Type,~E:Data,pair:Tx.Tx<W.World<S,C,R,E>,E> & M.Slot<S,K,V>) -> Tx.Tx<W.World<S,C,R,E>,E> & M.CurrentView<S,K,V>:
12  (frame,slot)=pair
13  (frame,M.current_view(~S,~K,~V,slot))

Uses (7)

Used by (1)