Document raising behaviour of CCIO.tee

This commit is contained in:
Fabian 2020-01-08 22:05:18 -06:00
parent a8b3dda313
commit 2c4a7b80e7

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
(** [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}