Module Biocaml_lwt.LinesSource

include module type of struct include Biocaml_unix.Lines end
Sourceval sexp_of_item : item -> Ppx_sexp_conv_lib.Sexp.t
Sourceval item_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> item
include sig ... end
Sourceval of_char_stream : char Stream.t -> item Stream.t

Parse a stream of characters into a stream of lines.

Sourceval of_channel : Core_kernel.In_channel.t -> item Stream.t

Get a stream of lines out of an input-channel.

Sourceval of_string : string -> item Stream.t

Get a stream of lines out a string

Sourceval to_channel : item Stream.t -> Core_kernel.Out_channel.t -> unit

Write a stream of lines to an output-channel.

Sourceval with_file : string -> f:(Biocaml_unix.Line.t Stream.t -> 'a) -> 'a
include sig ... end
Sourceval write_file : ?perm:int -> ?append:bool -> string -> Biocaml_unix.Line.t Future_lwt.Pipe.Reader.t -> unit Future_lwt.Deferred.t