View Problem

Process each file in a directory

ExpandDiskEdit
java
for (File file : (new File("c:\\")).listFiles()) process(file);
DiskEdit
csharp
foreach (string filename in System.IO.Directory.GetFiles(directory)) ProcessFile(filename);
ExpandDiskEdit
clojure
; (defn process-file [f] "process one file" body...)
(map process-file (.listFiles (File. ".")))

Submit a new solution for java, csharp, or clojure
There are 14 other solutions in additional languages (cpp, erlang, fantom, fsharp ...)