Stephen Mallette created TINKERPOP-2667:
-------------------------------------------
Summary: Allow fold() with addAll to work on Map
Key: TINKERPOP-2667
URL: https://issues.apache.org/jira/browse/TINKERPOP-2667
Project: TinkerPop
Issue Type: Improvement
Components: process
Affects Versions: 3.5.1
Reporter: Stephen Mallette
Assignee: Stephen Mallette
The following bit of Gremlin should work as a method for merging {{Map}}:
{code}
gremlin> g.inject([a: 1],[b:2]).fold([:], addAll)
==>[a:1,b:2]
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)