Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect sack example #76

Closed
krlawrence opened this issue May 9, 2018 · 1 comment
Closed

Fix incorrect sack example #76

krlawrence opened this issue May 9, 2018 · 1 comment

Comments

@krlawrence
Copy link
Owner

As reported by @anglepei (I moved your text to here from #75)

Likewise, minus will subtract the values before putting them into the sack. Note that 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()

[-5,-2,-1,-4]`

hi,this code should be wrong, it should be minus.

@krlawrence
Copy link
Owner Author

Included in v279-3.3.3 release. May 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant