package parany

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Wrapper module for near-compatibility with Parmap

val parmap : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ('a -> 'b) -> 'a list -> 'b list

Parallel List.map

val parmapi : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> (int -> 'a -> 'b) -> 'a list -> 'b list

Parallel List.mapi

val pariter : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ('a -> unit) -> 'a list -> unit

Parallel List.iter

val parfold : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?preserve:bool -> ?core_pin:bool -> ?csize:int -> int -> ('a -> 'b) -> ('acc -> 'b -> 'acc) -> 'acc -> 'a list -> 'acc

Parallel List.fold

val array_parmap : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?core_pin:bool -> ?csize:int -> int -> ('a -> 'b) -> 'b -> 'a array -> 'b array

Parallel Array.map; array input order is always preserved.

val array_pariter : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?core_pin:bool -> ?csize:int -> int -> ('a -> unit) -> 'a array -> unit

Parallel Array.iter

val array_pariteri : ?init:(int -> unit) -> ?finalize:(unit -> unit) -> ?core_pin:bool -> ?csize:int -> int -> (int -> 'a -> unit) -> 'a array -> unit

Parallel Array.iteri

OCaml

Innovation. Community. Security.