mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
feat ccfunvec: add fold_rev
This commit is contained in:
parent
a07c688404
commit
3a296ba127
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ val iteri_rev : f:(int -> 'a -> unit) -> 'a t -> unit
|
||||||
(** Iterate on elements with their index, but starting from the end. *)
|
(** Iterate on elements with their index, but starting from the end. *)
|
||||||
|
|
||||||
val fold : f:('b -> 'a -> 'b) -> x:'b -> 'a t -> 'b
|
val fold : f:('b -> 'a -> 'b) -> x:'b -> 'a t -> 'b
|
||||||
|
val fold_rev : f:('b -> 'a -> 'b) -> x:'b -> 'a t -> 'b
|
||||||
val foldi : f:('b -> int -> 'a -> 'b) -> x:'b -> 'a t -> 'b
|
val foldi : f:('b -> int -> 'a -> 'b) -> x:'b -> 'a t -> 'b
|
||||||
val append : 'a t -> 'a t -> 'a t
|
val append : 'a t -> 'a t -> 'a t
|
||||||
val map : ('a -> 'b) -> 'a t -> 'b t
|
val map : ('a -> 'b) -> 'a t -> 'b t
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue