chickadee » iterators » coroutine

coroutine iteratorprocedure

packages the iterator, i.e. a unary procedure of the yield argument, into a coroutine and does a first move, so that the coroutine object contains an escape-procedure