Is there any way to create a for loop without inducing a higher scope. The main goal of this is to avoid the repetition of calling many show rules.
In particular, consider something like:
let theorem_kinds = ("theorem", "corollary", "conjecture", "lemma", "problem")
for kind in theorem_kinds {
show figure.where(kind: "theorem"): it => { ... }
}
where it would be desirable for the show rules to apply in the scope beyond the for loop.
I tried building a string and using eval but it didn't seem to work.