Hello all, I am working on a program that needs to list all the files in a directory. I have read that Clojure doesn't yet have great support for this kind of task, and that it is better to import java.io.File to your namespace in order to use some of it's methods. Every time I have done this in Eclipse, I get the same error:
"No matching field found: getName for class java.lang.String (files.clj:0)" My question: Is this a "me" problem, perhaps a syntax error, a java problem, or a Clojure problem? I have used java for quite a while, and think that I am importing the class correctly: (import 'java.io.File), or should I just be using Clojure.java.io....confused in this case. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.