def is_pascal
import bend-lint-rules@0.2.0.0/layout/case.bend as Caseimport Base
59def is_pascal(s: String) -> Bool:
60 match s:
61 case SCon{c, rest}:
62 is_pascal.rest(Char.is_upper(c), rest)
63 case SNil{}:
64 False{}
import bend-lint-rules@0.2.0.0/layout/case.bend as Caseimport Base
59def is_pascal(s: String) -> Bool:
60 match s:
61 case SCon{c, rest}:
62 is_pascal.rest(Char.is_upper(c), rest)
63 case SNil{}:
64 False{}