Is there a corresponding operator for iterables ?
From the snippet hereunder, I'm assuming that this operator is for dealing with vectors (since it appears in a range expression):
import strutils
var x=0
for i in 1||1000:
inc x
echo "[$1]=$2" % [$i,$x]
This is an operator to parallelize a loop with OpenMP.
Do not use inc on a global variable with it as there would be no synchronization and what you will get in x will be random.