package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Read_result : sig ... end
type t
val open_file : ?buf_len:int -> string -> t Deferred.t

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

val close : t -> unit Deferred.t
val 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.

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

Innovation. Community. Security.