def provision_pair

bendvy-ecs-core@0.1.0.4 · ordinary_app_execution_recipe.bend:68

import bendvy-ecs-core@0.1.0.4/ordinary_app_execution_recipe.bend as OrdinaryAppExecutionRecipe
import Base
import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP

68# Advanced requirement composition threading the World through left then right.
69# Concatenate requirements in that order; callbacks must return their actual World.
70# This does not grant gameplay access from requirement strings.
71def provision_pair(~S:Data,~World:Type,~left:World -> World & List<&2,SP.Requirement<S>>,~right:World -> World & List<&2,SP.Requirement<S>>,world:World) -> World & List<&2,SP.Requirement<S>>:
72  provision_left(~S,~World,~right,left(world))

Uses (4)

Used by (8)