rune icon indicating copy to clipboard operation
rune copied to clipboard

Support patterns in quote! iterators

Open ModProg opened this issue 2 years ago • 0 comments

Not sure if I'm using the right word.

In rust's quote you can do

quote!(#(#the-iterator ;)*)

while in rune it would have to be

quote!(#(quote!(#the-iterator ;))*)

while being able to use #() for expressions is powerful, it would be nice if there could be a way to support the rust style quote as well. maybe one could use () for one thing and {} for the other? not sure.

ModProg avatar Jul 18 '23 20:07 ModProg