hack_parallel

Parallel and shared memory library
Library hack_parallel.hack_core

Parameters

module X : S

Signature

include Infix2 with type ('a, 'd) t = 'a X.t
type ('a, 'd) t = 'a X.t
val (>>=) : ( 'a, 'd ) t -> ( 'a -> ( 'b, 'd ) t ) -> ( 'b, 'd ) t
val (>>|) : ( 'a, 'd ) t -> ( 'a -> 'b ) -> ( 'b, 'd ) t
module Monad_infix : Infix2 with type ('a, 'd) t := ( 'a, 'd ) t
val bind : ( 'a, 'd ) t -> ( 'a -> ( 'b, 'd ) t ) -> ( 'b, 'd ) t
val return : 'a -> ( 'a, _ ) t
val map : ( 'a, 'd ) t -> f:( 'a -> 'b ) -> ( 'b, 'd ) t
val join : ( ( 'a, 'd ) t, 'd ) t -> ( 'a, 'd ) t
val ignore : ( _, 'd ) t -> ( unit, 'd ) t
val all : ( 'a, 'd ) t list -> ( 'a list, 'd ) t
val all_ignore : ( unit, 'd ) t list -> ( unit, 'd ) t