ap

infix fun <B> ap(f: Moore<I, (O) -> B>): Moore<I, B>(source)

Runs f and this machine in lockstep, applying the functions to the outputs.