mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
fix foldi to have 'a param first
This commit is contained in:
parent
2083590773
commit
beb50229ad
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ val iteri : (int -> 'a -> unit) -> 'a t -> unit
|
|||
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
|
||||
(** Fold over elements of the sequence, consuming it *)
|
||||
|
||||
val foldi : ('b -> int -> 'a -> 'b) -> 'b -> 'a t -> 'b
|
||||
val foldi : ('a -> int -> 'b -> 'a) -> 'a -> 'b t -> 'a
|
||||
(** Fold over elements of the sequence and their index, consuming it *)
|
||||
|
||||
val map : ('a -> 'b) -> 'a t -> 'b t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue