def is_keyword
import bolt@1.27.0.0/src/syntax/lex.bend as Leximport Base
244# is the text one of Bend's keywords?
245def is_keyword(+tt: String) -> Bool:
246 List.contains(~String, ~String.eq,
247 ["def", "type", "law", "match", "case", "do", "return", "for", "exs", "where", "is", "import",
248 "Type", "Data", "Kind", "Quant"], tt)