def apply_present
import bendvy-ecs-core@0.1.0.3/machine.bend as Machineimport Base
104def apply_present(~S: Data,~M: Data,~V: Data,~same: V -> V -> Bool,+current: V,+value: V,previous: Maybe<&2,V>,changed: Bool,skipSame: Bool) -> Applied<S,M,V>:
105 apply_decision(~S,~M,~V,current,value,previous,changed,Bool.and(skipSame,same(current,value)))