Skip to content

Add StringTemplate-like iteration over attributes #9

@gregorej

Description

@gregorej

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) :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions