Misc.Utf8_lexeme
type t = string
val normalize : string -> (t, t) Result.t
val capitalize : string -> (t, t) Result.t
val uncapitalize : string -> (t, t) Result.t
val is_capitalized : t -> bool
val is_valid_identifier : t -> bool
val is_lowercase : t -> bool
type validation_result =
| Valid
| Invalid_character of Uchar.t
| Invalid_beginning of Uchar.t
val validate_identifier : ?with_dot:bool -> t -> validation_result
val starts_like_a_valid_identifier : t -> bool