package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.1.tar.gz
md5=4cf944bcae5d36bf47b67f6bcb2455d7
sha512=0262b5768aefd7c080f664c46c88876fce9a658cc6a87358a77b7112c49ae3042e7ab542e76be5738fbaeda853149b308b48d4897960b5c7ae3b4da71d978bd8

doc/biocaml.unix/Biocaml_unix/Future_unix/Reader/index.html

Module Future_unix.Reader

module Read_result : sig ... end
type t = Core_kernel.In_channel.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.