8.12
7.13.3 For Clause Macros
space |
definition |
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