I call a java function in Clojure to get a list of files.
(require '[clojure.java.io :as io]) (str (.listFiles (io/file "/home/loluser/loldir")))
And I get a whole chain of strings like these
#<File /home/loluser/loldir/lolfile1>
etc .. How do I get rid of the brackets and put them in some form of array so that another function can access it?
java file io lisp clojure
bleakgadfly
source share