details (comments)

This commit is contained in:
Simon Cruanes 2014-08-05 00:15:17 +02:00
parent 0e77e6bedf
commit 057300c9ac

View file

@ -177,7 +177,11 @@ val flush : out_channel -> unit t
(* TODO: printf/fprintf wrappers *)
(** {2 Streams} *)
(** {2 Streams}
Iterators on chunks of bytes, or lines, or any other value using combinators.
Those iterators are usable only once, because their source might
be usable only once (think of a socket) *)
module Seq : sig
type 'a t
@ -245,7 +249,8 @@ module Seq : sig
val output : ?sep:string -> out_channel -> string t -> unit io
(** [output oc seq] outputs every value of [seq] into [oc], separated
with the optional argument [sep] (default: ["\n"]) *)
with the optional argument [sep] (default: ["\n"]).
It blocks until all values of [seq] are produced and written to [oc]. *)
end
(** {2 Low level access} *)