Skip to content

Commit

Permalink
Remove duplicate documentation of Vect.fold
Browse files Browse the repository at this point in the history
  • Loading branch information
thelema committed Dec 24, 2009
1 parent 4128fad commit af60956
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/batVect.mli
Expand Up @@ -217,9 +217,6 @@ val fold_left : ('b -> 'a -> 'b ) -> 'b -> 'a t -> 'b
(** [fold_left f a r] computes [ f (... (f (f a r0) r1)...) rN-1 ]
where [rn = Vect.get n r ] and [N = length r]. *)

val fold: ('b -> 'a -> 'b ) -> 'b -> 'a t -> 'b
(**as {!fold_left}*)

val reduce : ('a -> 'a -> 'a) -> 'a t -> 'a
(** as {!fold_left}, but no initial value - just applies reducing
function to elements from left to right. *)
Expand Down

0 comments on commit af60956

Please sign in to comment.