Module Uuseg

val unicode_version : string
type custom
type boundary = [
  1. | `Custom of custom
  2. | `Grapheme_cluster
  3. | `Line_break
  4. | `Sentence
  5. | `Word
]
val pp_boundary : Format.formatter -> boundary -> unit
type t
type ret = [
  1. | `Await
  2. | `Boundary
  3. | `End
  4. | `Uchar of Uchar.t
]
val create : [< boundary ] -> t
val boundary : t -> boundary
val add : t -> [ `Await | `End | `Uchar of Uchar.t ] -> ret
val mandatory : t -> bool
val copy : t -> t
val pp_ret : Format.formatter -> [< ret ] -> unit
val custom : ?mandatory:('a -> bool) -> name:string -> create:(unit -> 'a) -> copy:('a -> 'a) -> add:('a -> [ `Await | `End | `Uchar of Uchar.t ] -> ret) -> unit -> custom
val err_exp_await : [< ret ] -> 'a
val err_ended : [< ret ] -> 'a