package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

biocaml-0.11.2.tbz
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6

doc/biocaml.unix/Biocaml_unix/Lines/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.