List Iteration Expressions
This sections lists a few frequentlyused list iteration expressions.
Name(parameters)  Description  Example 

for [item] in [list] return [expression] 
iterate over a list 
for i in [1,2,3,4] return i*i = [1,4,9,16] 
sum (for [item] in [list] return [expression]) 
iterate over a list and return the sum of iterations 
sum(for i in [1,2,3,4] return i*i) = 30 
every [item] in [list] satisfies [expression] 
test if every item in the list satisfies the test condition described by the expression. 

some [item] in [list] satisfies [expression] 
test if at least one of the items in the list satisfies the test condition described by the expression. 
