mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
doc: small fix
This commit is contained in:
parent
91adde9743
commit
d0f0bf7024
1 changed files with 3 additions and 3 deletions
|
|
@ -188,9 +188,9 @@ end
|
||||||
(** {2 Collections} *)
|
(** {2 Collections} *)
|
||||||
|
|
||||||
val map_l : ('a -> ('b, 'err) t) -> 'a list -> ('b list, 'err) t
|
val map_l : ('a -> ('b, 'err) t) -> 'a list -> ('b list, 'err) t
|
||||||
(** [map_l f [a1; ...; an]] applies function f to a1, ..., an , and, in case of
|
(** [map_l f [a1; ...; an]] applies the function [f] to [a1, ..., an] , and, in case of
|
||||||
success for every elements, return the list of [Ok]-value.
|
success for every element, returns the list of [Ok]-value.
|
||||||
Otherwise, it fails and return the first error encountered. Tail-recursive.*)
|
Otherwise, it fails and returns the first error encountered. Tail-recursive.*)
|
||||||
|
|
||||||
val fold_l : ('b -> 'a -> ('b, 'err) t) -> 'b -> 'a list -> ('b, 'err) t
|
val fold_l : ('b -> 'a -> ('b, 'err) t) -> 'b -> 'a list -> ('b, 'err) t
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue