Josh Meyer created METRON-1057:
----------------------------------

             Summary: Add ZIP_WITH and ZIP_WITH_INDEX Functions in Stellar
                 Key: METRON-1057
                 URL: https://issues.apache.org/jira/browse/METRON-1057
             Project: Metron
          Issue Type: New Feature
            Reporter: Josh Meyer


In addition to the new `ZIP` functions in Stellar, we should add a `ZIP_WITH` 
and `ZIP_WITH_INDEX` functions. These have been implemented in other languages 
(Haskell). Below are examples of these functions.

```
ZIP_WITH([1, 2, 3], [1, 2, 3], (a, b) -> a + b) == [2, 4, 6]
ZIP_WITH_INDEX([1, 2, 3]) == [[0,1], [1,2], [2,3]]
```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to