for i in [1 .. 10] do printfn "%d" i List.iter (fun i -> printfn "%d" i) [1 .. 10]