def check.open_text
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
125# an opening bracket, as the depth it raises; ANone when it is not one
126def check.open_text(+tx: String) -> Act:
127 Bool.pick(Act, String.eq(tx, "("), AParen{},
128 Bool.pick(Act, String.eq(tx, "["), ABrack{},
129 Bool.pick(Act, String.eq(tx, "{"), ABrace{}, ANone{})))