package pacomb

  1. Overview
  2. Docs
type context =
  1. | ASCII
  2. | UTF8
  3. | CJK_UTF8
val width : ?context:context -> 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
type previous_chars =
  1. | EvenRegionalIndicator
  2. | ExtPictExtendStar
  3. | NoPrevious
val encode : Uchar.t -> string
val decode : string -> int -> Uchar.t * int
val look : string -> int -> Uchar.t
val next : string -> int -> int
val prev : string -> int -> int
val of_list : Uchar.t list -> string
val to_list : string -> Uchar.t list
val fold : ('a -> Uchar.t -> 'a) -> 'a -> string -> 'a
val length : context -> string -> int
val sub : string -> int -> int -> string
val grapheme_break : string -> int -> bool
val grapheme_break_after : Uchar.t list -> 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.