As far as I am aware at the moment the only way to iterate over an array is a map operation. I think adding a StringTemplate style iteration would be great. I mean something like this:
$["john","mary", "mark", "peter"]:{ it | <b>name:</b> $it$}
Also, this should work for non-array values (treating such value as one-element array)
EDIT: It's just come to me that this is in fact an extension of http://github.com/filippo/sgte/issues/3 (applying function to an attribute) :-)
As far as I am aware at the moment the only way to iterate over an array is a
mapoperation. I think adding a StringTemplate style iteration would be great. I mean something like this:Also, this should work for non-array values (treating such value as one-element array)
EDIT: It's just come to me that this is in fact an extension of http://github.com/filippo/sgte/issues/3 (applying function to an attribute) :-)