package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.0.tar.gz
md5=497e3f2f7128a6ca347d66848da38a3d
sha512=4a76ebbafda3bc944afaff40d69791dfe153a0638ef5d7e6e1bc962b7f991d9545cd0af2d7930b39f8b31dbf067d0603cfa03d9b7a49396ab1ae452df47fd1f3

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

Module Biocaml_unix.Future_unix

include Future.S with type 'a Deferred.t = 'a and type 'a Pipe.Reader.t = 'a Stream.t and type Reader.t = Core_kernel.In_channel.t and type Writer.t = Core_kernel.Out_channel.t
type how = [
  1. | `Parallel
  2. | `Sequential
  3. | `Max_concurrent_jobs of int
]

`Max_concurrent_jobs supported only for Async implementation. The Lwt implementation treats this the same as `Parallel. Blocking implementation treats all as `Sequential.

module Deferred : sig ... end
val return : 'a -> 'a Deferred.t
val (>>=) : 'a Deferred.t -> ('a -> 'b Deferred.t) -> 'b Deferred.t
val (>>|) : 'a Deferred.t -> ('a -> 'b) -> 'b Deferred.t
val (>>=?) : ('a, 'b) Deferred.Result.t -> ('a -> ('c, 'b) Deferred.Result.t) -> ('c, 'b) Deferred.Result.t
val (>>|?) : ('a, 'b) Deferred.Result.t -> ('a -> 'c) -> ('c, 'b) Deferred.Result.t
val fail : exn -> 'a Deferred.t

Difference from Async: Use fail instead of raise.

val raise : [> `Use_fail_instead ]
val try_with : (unit -> 'a Deferred.t) -> ('a, exn) Core_kernel.Result.t Deferred.t

Async supports several extra parameters to this function, which we do not currently support.

module In_thread : sig ... end
module Pipe : sig ... end
module Reader : sig ... end
module Writer : sig ... end
module Unix : sig ... end
OCaml

Innovation. Community. Security.