Document raising behaviour of CCIO.tee

This commit is contained in:
Fabian 2020-01-08 22:05:18 -06:00 committed by Simon Cruanes
parent 2bf052ab7a
commit 50042d6c09

View file

@ -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}