Parallel_arrays.Initval init :
Parallel_kernel.t @ local ->
('a init ->
(f:(Parallel_kernel.t @ local -> (Base.int -> 'a) @ local) @ shareable ->
'a t) @ local) @ local @@ portableinit parallel n ~f initializes an array with the result of f applied to the integers 0..n-1.