Skip to content

Commit

Permalink
Fix incorrect 'sack' example #76
Browse files Browse the repository at this point in the history
  • Loading branch information
krlawrence committed May 9, 2018
1 parent 313e002 commit 4a0c271
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions book/Gremlin-Graph-Guide.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PRACTICAL GREMLIN: An Apache TinkerPop Tutorial
===============================================
Kelvin R. Lawrence <[email protected]>
v279-preview, May 4, 2018
v279-preview, May 9, 2018
//v278 (TP 3.3.1), Mar 28, 2018
// Fri May 04, 2018 10:22:34 CDT
// Wed May 09, 2018 07:50:41 CDY
//:Author: Kelvin R. Lawrence
//:Email: [email protected]
:Numbered:
Expand All @@ -23,7 +23,7 @@ v279-preview, May 4, 2018
:doctype: book
:icons: font
//:pdf-page-size: Letter
:draftdate: May 4th 2018
:draftdate: May 9th 2018

// NOTE1: I updated the paraiso-dark style so that source code with a style of text
// has a white foreground color. The default was unreadable,
Expand Down Expand Up @@ -9719,7 +9719,7 @@ the values are subtracted *from* the sack's initialization value.
----
g.V().has('code','AUS').sack(assign).by('runways').
V().has('code','SAF').out().
sack(mult).by('runways').sack().fold()
sack(minus).by('runways').sack().fold()

[-5,-2,-1,-4]
----
Expand Down

0 comments on commit 4a0c271

Please sign in to comment.