Is it possible to create a macro which unrolls its argument list and does something with it? I’m not looking for arithmetic unrolling (e.g., create
n instances of some piece of an AST) but rather just syntactic unrolling. As a simple example, I’d like to be able to have something like:
unroll!((a, b), (c, d), (e, f), (g, h));
unroll to something like:
foo!(a, b); foo!(c, d); foo!(e, f); foo!(g, h);
Is something like this possible?