``` @regexp-constraint("[a-zA-Z]+") unboxed alpha (text); ``` As https://github.com/nirum-lang/nirum/issues/206 suggested, it might be useful if `text` is validated by the regular expression that gives in an annotation. ``` Alpha('1234') # error Alpha("abcABC') # it works ```
As #206 suggested, it might be useful if
textis validated by the regular expression that gives in an annotation.