transition

abstract fun transition(state: S, input: I): TransitionResult<S>