package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.11.1.tar.gz
md5=e292efa2f61fec33dad63ec897106f59
sha512=35519bf3b1e67a9191ef9bb74eba0dae941e0d05bad89076a36f507dc5c2d105a03c1c917d5a3f7ed9d1da4acbf3199582f78c308aa2a5a22c21f743945c852b

doc/biocaml.unix/Biocaml_unix/Sam/MakeIO/argument-1-Future/Reader/index.html

Module Future.Reader

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.