package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.11.0.tar.gz
md5=486aeb3e552dabae85839e2af30d6c52
sha512=4ed2df0b7cbd80bd6e29bd8fee9d2dacd9379ad0f4ff142bd8e16ade3f1507f6cc7cbe4c614943b8feb8fa4705935695cb458606b0da813dbf255b1e566a43cf

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

Module Biocaml_unix.Future_unixSource

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
Sourcetype 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.

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

Difference from Async: Use fail instead of raise.

Sourceval raise : [> `Use_fail_instead ]
Sourceval 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.

Sourcemodule In_thread : sig ... end
Sourcemodule Pipe : sig ... end
Sourcemodule Reader : sig ... end
Sourcemodule Writer : sig ... end
OCaml

Innovation. Community. Security.