RosettaCodeData/Task/Multiple-distinct-objects/OCaml/multiple-distinct-objects-2.ml

2 lines
34 B
OCaml

Array.init n (fun _ -> new foo);;