MachineQueue.conditional_generic: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/machine_queue.bend as MachineQueue Lines 20-23 of bendvy-ecs-core@0.1.0.3/machine_queue.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/machine_queue.bend&start_line=20&end_line=23 import Base import bendvy-ecs-core@0.1.0.3/machine.bend as M def conditional_generic(-S:Data,-K:Data,-V:Data,same:V -> V -> Bool,slot:M.Slot,value:V) -> M.Slot: match slot: case M.Missing{}:M.Missing{} case M.Present{current,pending,previous,changed}:M.Present{current,conditional_pending_generic(V,same,pending,value),previous,changed} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/machine.bend&name=Slot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/machine_queue.bend&name=conditional_pending_generic