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/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.In_channel.t and type Writer.t = Core.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.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.