rune
rune copied to clipboard
Support patterns in quote! iterators
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.