Module Parallel_arraysSource

include sig ... end
Sourcemodule type Get = sig ... end
Sourcemodule type Set = sig ... end
Sourcemodule type Map = sig ... end
Sourcemodule type Reduce = sig ... end
Sourcemodule type Sort = sig ... end
Sourcemodule type Scan = sig ... end
Sourcemodule type Filter = sig ... end
Sourcemodule type Inplace = sig ... end
Sourcemodule type Islice = sig ... end
Sourcemodule type Slice = sig ... end
Sourcemodule type Filter_map = sig ... end

The following "parallel array" types are distinct from normal arrays because their elements must always be portable and must never share unsynchronized state.

This is the case when the element type 'a crosses portability and contention, or when the array elements are portable and live in separate capsules (that is, were returned at portable uncontended from portable functions).

To work with a pre-existing array whose element type does not cross portability and contention, the elements may be wrapped in Modes.Portended.t or Capsule.Data.t as applicable.

Sourcemodule Array : sig ... end
Sourcemodule Iarray : sig ... end
Sourcemodule Bigstring : sig ... end
Sourcemodule Bigarray : sig ... end