Vibe.d diet templates

JG JG at somewhere.com
Thu Jun 17 08:23:54 UTC 2021


Suppose I have an array of attributes and values v is there any 
way to apply these attributes to a tag?

So that something like

tag(#{v[0]0]}=#{v[0][1]},...})

becomes

<tag attribute0=value0 ....>

where v[0][0]="attribute0" and v[0][1]="value0"?





More information about the Digitalmars-d-learn mailing list