On this page:
for_  clause
for_  clause.macro
8.12
7.13.3 For Clause Macros🔗ℹ

The space for bindings of identifiers that implement for clauses.

Similar to defn.macro, but defines a name in the for_clause space as a clause form for use within a for body.

The compile-time body block returns the expansion result. The result must be a sequence of groups to be spliced in place of the macro use, where each group can be either a another for clause, an expression, or a defintion.

for_clause.macro 'each_in_three $id':

  'def three: 3

   each $id: 0..three'

> for List:

    each_in_three i

    i

[0, 1, 2]