by gnulinux · 6y ago · 0 comments
Since it already has if, I wonder if I can branch on things other than "admin".
EDIT: I stand corrected, looks like using `range .. end` you can actually loop.
EDIT2: if also works:
{{ if (rando 0 1) }}
a
{{ else }}
b
{{ end }}
prints a or b non deterministically.EDIT3: I wish it supported operations like equality, addition, <, > etc