Processing all Xml’s in a Directory (Functional Programming / F#)

// Read all the files in directory

let dirname = “c:\\Temp\\commdataa”
let processFile filename = printfn “%s” filename

for filename in Directory.GetFiles(dirname) do processFile filename done

 

Advertisements