Chainable array operations suitable for use inside coroutine generators (NB. this is NOT about lazy list transformation!)