package ez_search

  1. Overview
  2. Docs

Source file useParmap.ml

1
2
3
4
5
6
7
8
9
10
11
# 1 "src/ez_search/useParmap.no.ml"

(* In case Parmap is not available... *)

type 'a t = A of 'a array

let get_default_ncores () = 0
let parmap ~ncores:_ f t =
  match t with
  | A list ->
      Array.map f list |> Array.to_list
OCaml

Innovation. Community. Security.