def remove_next

bendvy-ecs-core@0.1.0.4 · ordinary_app_schedules.bend:57

import bendvy-ecs-core@0.1.0.4/ordinary_app_schedules.bend as OrdinaryAppSchedules
import Base

57def remove_next(~S:Data,same:Bool,old:Named<S>,rest:List<&2,Named<S>>,next:List<&2,Named<S>>) -> List<&2,Named<S>>:
58  match same:
59    case True{}:rest
60    case False{}:old <> next

Uses (3)

Used by (1)