def closer
import bolt@1.27.0.0/src/syntax/tree.bend as Treeimport Base
137# the bracket that closes an opener (`>` for `<` and `<&`)
138def closer(+oo: String) -> String:
139 Bool.pick(String, String.eq(oo, "("), ")",
140 Bool.pick(String, String.eq(oo, "["), "]",
141 Bool.pick(String, String.eq(oo, "{"), "}", ">")))