package parany

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

Wrapper module for near-compatibility with Parmap

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

Parallel List.map

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

Parallel List.mapi

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

Parallel List.iter

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

Parallel List.fold

val array_parmap : int -> ('a -> 'b) -> 'b -> 'a array -> 'b array

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

OCaml

Innovation. Community. Security.