Array.iter (fun i -> Printf.printf "%d\n" i) collect_array