RosettaCodeData/Task/Apply-a-callback-to-an-array/OCaml/apply-a-callback-to-an-array-5.ocaml

2 lines
60 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
List.iter (fun x -> Printf.printf "%d" x) [1; 2; 3; 4; 5];;