diff --git a/src/core/CCArray.mli b/src/core/CCArray.mli index 2e54a396..4fe5d32d 100644 --- a/src/core/CCArray.mli +++ b/src/core/CCArray.mli @@ -74,7 +74,8 @@ val fold_map : ('acc -> 'a -> 'acc * 'b) -> 'acc -> 'a t -> 'acc * 'b t val scan_left : ('acc -> 'a -> 'acc) -> 'acc -> 'a t -> 'acc t (** [scan_left f acc a] returns the array - [ [|acc; f acc x0; f (f acc a.(0)) a.(1); ...|] ]. + [ [|acc; f acc x0; f (f acc a.(0)) a.(1); …|] ]. + @since 1.2 *) val iter : ('a -> unit) -> 'a t -> unit diff --git a/src/core/CCArrayLabels.mli b/src/core/CCArrayLabels.mli index 21befed7..05c1895c 100644 --- a/src/core/CCArrayLabels.mli +++ b/src/core/CCArrayLabels.mli @@ -139,7 +139,7 @@ val bsearch : cmp:('a -> 'a -> int) -> key:'a -> 'a t -> [ `All_lower | `All_bigger | `Just_after of int | `Empty | `At of int ] (** [bsearch ?cmp key arr] finds the index of the object [key] in the array [arr], provided [arr] is {b sorted} using [cmp]. If the array is not sorted, - the result is not specified (may @raise Invalid_argument). + the result is not specified (may raise Invalid_argument). Complexity: [O(log n)] where n is the length of the array (dichotomic search). diff --git a/src/core/CCFormat.mli b/src/core/CCFormat.mli index fb74127c..6430bc93 100644 --- a/src/core/CCFormat.mli +++ b/src/core/CCFormat.mli @@ -106,9 +106,9 @@ val return : ('a, _, _, 'a) format4 -> unit printer (** [return "some_format_string"] takes a argument-less format string and returns a printer actionable by [()]. Examples: - - [return ",@ "]. - - [return "@{and then@}@,"]. - - [return "@[a@ b@]"]. + - [return ",@ "] + - [return "@{and then@}@,"] + - [return "@[a@ b@]"] @since 1.0 *)