tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kuppitz (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (TINKERPOP3-760) Make loop counter accessible within repeat()
Date Sat, 01 Aug 2015 13:33:04 GMT

     [ https://issues.apache.org/jira/browse/TINKERPOP3-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kuppitz reopened TINKERPOP3-760:
---------------------------------------

As requested by [~okram], I reverted the commit and pushed the changes to a new [feature branch|https://github.com/apache/incubator-tinkerpop/tree/TINKERPOP3-760].

> 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
>    Affects Versions: 3.0.0-incubating
>            Reporter: Daniel Kuppitz
>            Assignee: Daniel Kuppitz
>             Fix For: 3.1.0-incubating
>
>
> 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)

Mime
View raw message