runiq 2.1.0

An efficient way to filter duplicate lines from input, à la uniq.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    {% set rp = 1 %}
    {% set age = integer(start=18, end=99) %}
    {% set name = lastName() %}
    {% set state = state() %}
    {% set occupation = profession() %}
    {% for idx in range(end=rp) %}
        "age{{ idx }}": {{ age }},
        "name{{ idx }}": "{{ name }}",
        "state{{ idx }}": "{{ state }}",
        "occupation{{ idx }}": "{{ occupation }}"
        {% if idx != (rp - 1) %}
            ,
        {% endif %}
    {% endfor %}
}