You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/02/13 00:42:29 UTC

incubator-tinkerpop git commit: sack()-step doc update --- withSack doesn't need a lambda for primtives.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 4c88d660d -> a0079b6e0


sack()-step doc update --- withSack doesn't need a lambda for primtives.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/a0079b6e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/a0079b6e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/a0079b6e

Branch: refs/heads/master
Commit: a0079b6e04f8deb5c59e74185f28b70723f7f52e
Parents: 4c88d66
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Thu Feb 12 16:42:25 2015 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Thu Feb 12 16:42:25 2015 -0700

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/a0079b6e/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index e09ee78..da9c258 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1045,7 +1045,7 @@ Two trivial examples are presented below to demonstrate the *initial value suppl
 
 [gremlin-groovy,modern]
 ----
-g.V().withSack {1.0f}.sack()
+g.V().withSack(1.0f).sack()
 rand = new Random()
 g.V().withSack {rand.nextFloat()}.sack()
 ----
@@ -1054,9 +1054,9 @@ A more complicated initial value supplier example is presented below where the s
 
 [gremlin-groovy,modern]
 ----
-g.V().withSack {1.0f}.repeat(outE().sack(mult,'weight').inV()).times(2)
-g.V().withSack {1.0f}.repeat(outE().sack(mult,'weight').inV()).times(2).sack()
-g.V().withSack {1.0f}.repeat(outE().sack(mult,'weight').inV()).times(2).path().
+g.V().withSack(1.0f).repeat(outE().sack(mult,'weight').inV()).times(2)
+g.V().withSack(1.0f).repeat(outE().sack(mult,'weight').inV()).times(2).sack()
+g.V().withSack(1.0f).repeat(outE().sack(mult,'weight').inV()).times(2).path().
       by().by('weight')
 ----