Coroutine based operation functor.

A bit faster than the codensity transformed state functor.