package pacomb

  1. Overview
  2. Docs
type context =
  1. | ASCII
  2. | UTF8
  3. | CJK_UTF8
val width : ?context:context -> Stdlib.Uchar.t -> int
type grapheme_break_property =
  1. | Other
  2. | CR
  3. | LF
  4. | Prepend
  5. | Control
  6. | Extend
  7. | SpacingMark
  8. | L
  9. | V
  10. | T
  11. | LV
  12. | LVT
  13. | ZWJ
  14. | RegionalIndicator
  15. | ExtPict
val gbp : Stdlib.Uchar.t -> grapheme_break_property
type previous_chars =
  1. | EvenRegionalIndicator
  2. | ExtPictExtendStar
  3. | NoPrevious
val encode : Stdlib.Uchar.t -> string
val decode : string -> int -> Stdlib.Uchar.t * int
val look : string -> int -> Stdlib.Uchar.t
val next : string -> int -> int
val prev : string -> int -> int
val of_list : Stdlib.Uchar.t list -> string
val to_list : string -> Stdlib.Uchar.t list
val fold : ('a -> Stdlib.Uchar.t -> 'a) -> 'a -> string -> 'a
val length : string -> int
val sub : string -> int -> int -> string
val grapheme_break : string -> int -> bool
val grapheme_break_after : Stdlib.Uchar.t list -> Stdlib.Uchar.t -> bool
val next_grapheme : string -> int -> int
val prev_grapheme : string -> int -> int
val fold_grapheme : ('a -> string -> 'a) -> 'a -> string -> 'a
OCaml

Innovation. Community. Security.