Login
|
Signup
langref.org
-
clojure
add..
all
cpp
csharp
erlang
fantom
fsharp
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Files
Directories
Process each file in a directory
clojure
; (defn process-file [f] "process one file" body...)
(map process-file (.listFiles (File. ".")))
(import '(java.io File))
; (defn process-file [f] "process one file" body...)
(map process-file (.listFiles (File. ".")))
Submit a new solution for
clojure
There are 16 other solutions in
additional
languages (
cpp
,
csharp
,
erlang
,
fantom
...)