def plan_left
import bendvy-ecs-core@0.1.0.4/ordinary_app_execution_recipe.bend as OrdinaryAppExecutionRecipeimport Base
import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as SP
53def plan_left(~S:Data,~L:Type,~R:Type,~right:R -> R & SP.Plan<S>,owner:R,result:L & SP.Plan<S>) -> (L & R) & SP.Plan<S>:
54 match result:
55 case (left,before):plan_right(~S,~L,~R,left,before,right(owner))