package biocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Future_unix.ReaderSource

Sourcemodule Read_result : sig ... end
Sourcetype t = Core.In_channel.t
Sourceval open_file : ?buf_len:int -> string -> t Deferred.t

Difference from Async: implementations should try to use buf_len but are not required to.

Sourceval close : t -> unit Deferred.t
Sourceval with_file : ?buf_len:int -> string -> f:(t -> 'a Deferred.t) -> 'a Deferred.t

Difference from Async: implementations should try to use buf_len but are not required to.

Sourceval read_line : t -> string Read_result.t Deferred.t
Sourceval read_all : t -> (t -> 'a Read_result.t Deferred.t) -> 'a Pipe.Reader.t
Sourceval lines : t -> string Pipe.Reader.t
Sourceval contents : t -> string Deferred.t
Sourceval file_contents : string -> string Deferred.t
Sourceval file_lines : string -> string list Deferred.t
OCaml

Innovation. Community. Security.