[0] | [1] | [2] | [3] | [4] | [5] | [6] | [7] | |
---|---|---|---|---|---|---|---|---|
input: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
sum scan: |
[0] | [1] | [2] | [3] | [4] | [5] | [6] | |
---|---|---|---|---|---|---|---|
input: | "Africa" | "Asia" | "SouthAmerica" | "NorthAmerica" | "Europe" | "Australia" | "Antarctica" |
and a predicate:
(continentName) -> { return continentName.contains("c"); }
and a process which when given this input and predicate produces:
[0] | [1] | [2] | [3] | |
---|---|---|---|---|
output: | "Africa" | "SouthAmerica" | "NorthAmerica" | "Antarctica" |