open System.IO for line in File.ReadLines("/path/to/file") do printfn "%s" line
"/path/to/file" |> File.ReadLines |> Seq.iter (printfn "%s")
"/path/to/file" |> File.ReadLines |> Seq.iter (fun line -> printfn "%s" line)