So I had another flash-o-inspiration.
for x [1 thru 3] [
print [x]
]
Gives you:
1
2
3
But...
for x @[1 thru 3] [
print [x]
]
Leads to the second parameter to FOR being '[1 thru 3] And that would give you:
1
thru
3
And if you don't like how that looks, you could also use:
for x each [1 thru 3] [
print [x]
]
1
thru
3
In that case, EACH is making a generator function, so the second argument to FOR is an ACTION! that produces values until it produces a NULL which causes it to stop the FOR.
So I think that resolves that the base level of FOR and MAP is a dialect for generating values. Anyone have ideas for this dialect and how it works besides me? :-/ No, don't worry about it, I'll solve it.