Module Parallel_arrays.IarraySource

Sourcetype ('a : any mod portable separable) t : immutable_data with 'a
Sourceval length : ('a : any mod portable separable). 'a t @ contended -> Base.int

length t returns the number of elements in t.

include sig ... end
Sourceval of_iarray : ('a : any mod contended portable separable). 'a Base.iarray -> 'a t
Sourceval to_iarray : ('a : any mod contended portable separable). 'a t -> 'a Base.iarray
Sourceval get__bits64 : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__bits64 : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__bits64 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__bits64 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__bits64__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__bits64__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__bits64__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__bits64__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__bits32 : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__bits32 : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__bits32 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__bits32 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__bits32__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__bits32__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__bits32__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__bits32__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__word : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__word : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__word : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__word : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__word__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__word__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__word__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__word__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__float64 : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__float64 : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__float64 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__float64 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__float64__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__float64__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__float64__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__float64__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__float32 : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__float32 : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__float32 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__float32 : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__float32__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__float32__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__float32__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__float32__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get : 'a t -> Base.int -> 'a @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get : 'a t -> Base.int -> 'a @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract : 'a t -> Base.int -> ('a -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourceval get__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

get t i reads the element at index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_get__shared : 'a t @ shared -> Base.int -> 'a @ shared @@ portable

unsafe_get t i unsafely reads the element at index i.

Sourceval extract__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

extract t i f applies f with the element read from index i. Raises Invalid_arg if i is not in the range [0..length t).

Sourceval unsafe_extract__shared : 'a t @ shared -> Base.int -> ('a @ shared -> 'b @ portable contended) @ local once portable -> 'b @ portable contended @@ portable

unsafe_extract t i f applies f with the element unsafely read from index i.

Sourcemodule Slice : Islice__''base_or_null'' with type ('a : any) array := 'a t
Sourcetype ('a : any) init = Base.int
val init__bits64 : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val init__bits32 : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val init__word : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val init__float64 : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val init__float32 : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val init : Parallel_kernel.t @ local -> 'a init -> (f:(Parallel_kernel.t @ local -> Base.int -> 'a) @ shareable -> 'a t) @ local @@ portable

init parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.

If t is array or iarray, f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits64__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits64__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__bits32__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__bits32__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__word__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__word__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float64__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float64__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__value_or_null : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__float32__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__float32__value_or_null__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__value_or_null__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__value_or_null__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> Base.int -> ('a -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val map__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> 'b) @ shareable -> 'b t) @ local @@ portable

map parallel t ~f initializes an array with the result of f applied to each element of t.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val mapi__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> 'b) @ local) @ shareable -> 'b t) @ local @@ portable

mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index.

f is not allowed to return boxed floats, as this would break the float array optimization. Prefer float# t.

val fold__bits64 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi__bits64 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__bits64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__bits64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__bits64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__bits64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__bits64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64 @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64 @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64 @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64 @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits64 @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val fold__bits32 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi__bits32 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__bits32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__bits32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__bits32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__bits32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__bits32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32 @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32 @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32 @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32 @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__bits32 @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val fold__word : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi__word : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__word : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__word : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__word : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__word : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__word : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__word @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val fold__float64 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi__float64 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__float64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__float64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__float64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__float64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__float64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64 @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64 @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64 @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64 @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float64 @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val fold__float32 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi__float32 : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__float32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__float32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__float32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__float32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__float32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32 @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32 @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32 @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32 @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t__float32 @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val fold : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> 'acc -> ('a @ shared -> 'acc) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

fold parallel t ~init ~f ~combine folds combine over the result of map parallel t ~f. combine must be associative and combine init x must equal x.

val foldi : Parallel_kernel.t @ local -> 'a t @ shared -> (init:(Base.unit -> 'acc) @ portable -> (f: (Parallel_kernel.t @ local -> Base.int -> ('acc -> ('a @ shared -> 'acc) @ local) @ local) @ shareable -> (combine: (Parallel_kernel.t @ local -> 'acc -> ('acc -> 'acc) @ local) @ shareable -> 'acc) @ local) @ local) @ local @@ portable

foldi parallel t ~init ~f ~combine folds combine over the result of mapi parallel t ~f. combine must be associative and combine init x must equal x.

val iter : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val iter__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.unit) @ shareable -> Base.unit) @ local @@ portable

iter parallel t ~f applies f to each element of t.

val iteri__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.unit) @ local) @ shareable -> Base.unit) @ local @@ portable

iteri parallel t ~f applies f to each element of t and its index.

val find__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a Unboxed_datatypes.Option_u.t @ shared) @ local @@ portable

find parallel t ~f returns the first element of t for which f returns true, if it exists.

val findi__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t @ shared) @ local @@ portable

findi parallel t ~f returns the first element of t for which f returns true, if it exists.

val reduce__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a Unboxed_datatypes.Option_u.t @ shared) @ local @@ portable

reduce parallel t ~f folds f over the elements of t. f must be associative. If t is empty, reduce returns None.

val min_elt__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t @ shared) @ local @@ portable

min_elt parallel t ~compare is the minimum element of t according to compare. If t is empty, returns None.

val max_elt__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a Unboxed_datatypes.Option_u.t @ shared) @ local @@ portable

max_elt parallel t ~compare is the maximum element of t according to compare. If t is empty, returns None.

val sort__bits64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__bits64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__bits32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__bits32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__word : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__word : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__float64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__float64 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__float32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__float32 : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort : Parallel_kernel.t @ local -> 'a t -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val sort__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

sort parallel t ~compare initializes an array with the contents of t unstably sorted with respect to compare.

val stable_sort__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (compare: (Parallel_kernel.t @ local -> 'a @ local shared -> 'a @ local shared -> Base.int) @ shareable -> 'a t @ shared) @ local @@ portable

stable_sort parallel t ~compare initializes an array with the contents of t stably sorted with respect to compare.

val scan__bits64 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__bits64 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__bits32 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__bits32 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__word : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__word : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__float64 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__float64 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__float32 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__float32 : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> #('a t * 'a)) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive : Parallel_kernel.t @ local -> 'a t -> (init:'a -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a) @ local) @ shareable -> 'a t) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val scan__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> #('a t * 'a) @ shared) @ local) @ local @@ portable

scan parallel t ~init ~f initialises an array containing the exclusive prefix sums of t with respect to f. The first element is init and the full reduction of t is returned separately. f must be associative and f init x must equal x.

val scan_inclusive__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (init:'a @ shared -> (f: (Parallel_kernel.t @ local -> 'a @ shared -> ('a @ shared -> 'a @ shared) @ local) @ shareable -> 'a t @ shared) @ local) @ local @@ portable

scan_inclusive parallel t ~init ~f initialises an array containing the inclusive prefix sums of t with respect to f. The first element is the first element of t. f must be associative and f init x must equal x.

val filter__bits64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__bits64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__bits64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__bits32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__bits32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__bits32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__word : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__word : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__word__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__float64 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__float64 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__float64__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__float32 : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__float32 : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__float32__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter : Parallel_kernel.t @ local -> 'a t -> (f:(Parallel_kernel.t @ local -> 'a -> Base.bool) @ shareable -> 'a t) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri : Parallel_kernel.t @ local -> 'a t -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a -> Base.bool) @ local) @ shareable -> 'a t) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f:(Parallel_kernel.t @ local -> 'a @ shared -> Base.bool) @ shareable -> 'a t @ shared) @ local @@ portable

filter parallel t ~f initialises an array containing the elements of t that satisfy the predicate f.

val filteri__shared : Parallel_kernel.t @ local -> 'a t @ shared -> (f: (Parallel_kernel.t @ local -> Base.int -> ('a @ shared -> Base.bool) @ local) @ shareable -> 'a t @ shared) @ local @@ portable

filteri parallel t ~f initialises an array containing the elements of t that, alongside their index, satisfy the predicate f.

val filter_map : ('a : value_or_null mod portable separable) ('b : value mod non_float portable). Parallel_kernel.t @ local -> 'a t -> f:(Parallel_kernel.t @ local -> 'a -> 'b Base.or_null) @ shareable -> 'b t @@ portable

filter_map parallel t ~f initializes an array with the results of f applied to each element of t, filtering out Nulls.

val filter_mapi : ('a : value_or_null mod portable separable) ('b : value mod non_float portable). Parallel_kernel.t @ local -> 'a t -> f: (Parallel_kernel.t @ local -> Base.int -> 'a -> 'b Base.or_null) @ shareable -> 'b t @@ portable

filter_mapi parallel t ~f initializes an array with the result of f applied to each element of t and its index, filtering out Nulls.