with

infix inline fun <T : Any, A : Any> Reducer<T, A>.with(state: T)