Lex.classify: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/lex.bend as Lex Lines 125-129 of bolt@1.27.0.0/src/syntax/lex.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&start_line=125&end_line=129 import Base # a char's class def classify(+cc: Char) -> Class: +other = Bool.pick(Class, Char.is_alpha(cc), CAlpha{}, Bool.pick(Class, Char.is_digit(cc), CDigit{}, COp{})) classify.go(Char.to_u32(cc), other) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_alpha https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_digit https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.to_u32 https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=Class https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=classify.go