mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
fix doc
This commit is contained in:
parent
7642d662cb
commit
e3376bd21a
1 changed files with 6 additions and 6 deletions
|
|
@ -226,32 +226,32 @@ include S with type t := string
|
||||||
|
|
||||||
val map2 : (char -> char -> char) -> string -> string -> string
|
val map2 : (char -> char -> char) -> string -> string -> string
|
||||||
(** map pairs of chars
|
(** map pairs of chars
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val iter2: (char -> char -> unit) -> string -> string -> unit
|
val iter2: (char -> char -> unit) -> string -> string -> unit
|
||||||
(** iterate on pairs of chars
|
(** iterate on pairs of chars
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val iteri2: (int -> char -> char -> unit) -> string -> string -> unit
|
val iteri2: (int -> char -> char -> unit) -> string -> string -> unit
|
||||||
(** iterate on pairs of chars with their index
|
(** iterate on pairs of chars with their index
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val fold2: ('a -> char -> char -> 'a) -> 'a -> string -> string -> 'a
|
val fold2: ('a -> char -> char -> 'a) -> 'a -> string -> string -> 'a
|
||||||
(** fold on pairs of chars
|
(** fold on pairs of chars
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val for_all2 : (char -> char -> bool) -> string -> string -> bool
|
val for_all2 : (char -> char -> bool) -> string -> string -> bool
|
||||||
(** all pair of chars respect the predicate?
|
(** all pair of chars respect the predicate?
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val exists2 : (char -> char -> bool) -> string -> string -> bool
|
val exists2 : (char -> char -> bool) -> string -> string -> bool
|
||||||
(** exists a pair of chars?
|
(** exists a pair of chars?
|
||||||
@raises Invalid_argument if the strings have not the same length
|
@raise Invalid_argument if the strings have not the same length
|
||||||
@since 0.12 *)
|
@since 0.12 *)
|
||||||
|
|
||||||
(** {2 Splitting} *)
|
(** {2 Splitting} *)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue