Macro rules fill the rest of a vec with empty, but keeping initial iteration

Hello,
this is the following of a previous answered question.
But now, I need to use initial repetition to run a function:

I just need a way to get $($value ,)* back to use it inside the macro.

Thank you in advance for your help.

I am stuck at:

Now, I get a local ambiguity:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.