You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "pieter martin (JIRA)" <ji...@apache.org> on 2015/09/10 19:18:45 UTC

[jira] [Created] (TINKERPOP3-837) Make P.between symmetrical

pieter martin created TINKERPOP3-837:
----------------------------------------

             Summary: Make P.between symmetrical
                 Key: TINKERPOP3-837
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-837
             Project: TinkerPop 3
          Issue Type: Bug
          Components: process
    Affects Versions: 3.0.1-incubating
            Reporter: pieter martin
            Assignee: Marko A. Rodriguez


{{P.between}} implements {{Compare.gte}} and {{Compare.lt}}
This is asymmetrical and counter intuitive.

Can we change it to be {{Compare.gt}} and {{Compare.lt}} or
{{Compare.gte}} and {{Compare.lte}}

Either inclusive or exclusive but not asymmetrical as it is now.
I would vote for exclusive as it is arguably close to the English meaning of between.

According to Daniel on the forum this was done for historical pragmatic reasons via Matthias and the old {{.interval()}} step.



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