OrdinaryConditionDeclaration.evaluator: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_condition_declaration.bend as OrdinaryConditionDeclaration Lines 58-63 of bendvy-ecs-core@0.1.0.4/ordinary_condition_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_condition_declaration.bend&start_line=58&end_line=63 import Base import bendvy-ecs-core@0.1.0.4/world.bend as W # Consume a program to obtain its slot-indexed World-threading evaluator. # Use slots from the matching materialized/validated program; arbitrary callback # mutations or host effects are not transactionally isolated by this adapter. def evaluator(~S:Data,~C:Type,~R:Type,~E:Data,~Ids:Data,program:Program) -> W.World -> U32 -> W.World & Bool: match program: case Program{_,_,_,evaluate}:evaluate Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_condition_declaration.bend&name=Program https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World