mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
Document raising behaviour of CCIO.tee
This commit is contained in:
parent
2bf052ab7a
commit
50042d6c09
1 changed files with 2 additions and 1 deletions
|
|
@ -143,7 +143,8 @@ val with_in_out : ?mode:int -> ?flags:open_flag list ->
|
||||||
|
|
||||||
val tee : ('a -> unit) list -> 'a gen -> 'a gen
|
val tee : ('a -> unit) list -> 'a gen -> 'a gen
|
||||||
(** [tee funs gen] behaves like [gen], but each element is given to
|
(** [tee funs gen] behaves like [gen], but each element is given to
|
||||||
every function [f] in [funs] at the time the element is produced. *)
|
every function [f] in [funs] at the time the element is produced.
|
||||||
|
The returned generator will raise any exception that [f] raises *)
|
||||||
|
|
||||||
(** {2 File and file names}
|
(** {2 File and file names}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue