You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2015/07/08 19:58:04 UTC

[jira] [Created] (TINKERPOP3-760) Make loop counter accessible within repeat()

Daniel Kuppitz created TINKERPOP3-760:
-----------------------------------------

             Summary: Make loop counter accessible within repeat()
                 Key: TINKERPOP3-760
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-760
             Project: TinkerPop 3
          Issue Type: Improvement
          Components: process
            Reporter: Daniel Kuppitz
            Assignee: Marko A. Rodriguez


Currently we can access the loop counter in a lambda:

{code}
.filter {it.loops() < 3}
{code}

Would be nice to have a step to access the counter:

{code}
.where(loops().is(lt(3)))
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)