use rdxl::xhtml;
fn main(){
let my_int = 3;
let my_str = "asdf";
let my_vec = vec![true, false, true, true];
println!("{}",xhtml!(
{{ for v in my_vec.iter() {{
{{my_int}}, {{my_str}}, {{v}}
}} }}
));
let mut my_counter = 3;
println!("{}",xhtml!(
{{ while my_counter > 0 {{
{{my_counter}}
{{ my_counter -= 1; }}
}} }}
));
let mut my_some = Some(23);
println!("{}",xhtml!(
{{ while let Some(my_num) = my_some {{
{{my_num}}
{{ my_some = None; }}
}} }}
));
}