seq:fold(util:function(xs:QName("f:plus"), 2), 1 to 4, 0)
Result:
10
seq:fold(util:function(xs:QName("f:product"), 2), 1 to 4, 1)
Result:
24
seq:map(util:function(xs:QName("f:plus"), 2), (4, 7, 6), (10, 15, 8))
Result:
14 22 14
seq:map(util:function(xs:QName("f:table-row"), 2), 1 to 3, ("Franz", "Klaus", "Erwin"))
Result:
1 | Franz |
2 | Klaus |
3 | Erwin |
seq:filter(util:function(xs:QName("f:remove"), 1), (8, 15, 7, 19, 22, 5))
Result:
15 19 22