work on Monadic implementation of Pipes in Gremlin.