Scala, gremlin-scala, HLists, Poly2, RightFold and a missing implicit Prepend
问题 So, I am trying to encapsulate a series of operations from gremlin-scala into an HList so I can do a RightFold over them (this would allow me to construct a gremlin query as data: specifically an HList of Operations ). Here is what I mean: usually you can make a call to gremlin-scala like so: import gremlin.scala._ import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory def graph = TinkerFactory.createModern.asScala graph.V.hasLabel("person").out("created").as("creations")