Sean,
I am getting closer. Sorry about that. Here is my (rudimentary) code. My goal is to print the contents of a directory, and from that, print one of two things based on the results ( an if/then, if you will). I am running into a few problems though. (defn list-paths [directory] (println "Files in " (.getName directory)) (doseq [f (.listFiles directory)] (if (.isDirectory f) (print "directory: ") (print "- ")) (println (.getName f) (fn clj-check [directory] (if (.contains directory ".jar") (println("weeee") (println ("noooo")))))))) (list-paths (File. "home/documents/something") <---run it here My problems are twofold. When I run the function using the home folder for Eclipse, I get the directory output just fine, but in my second inner-function, I only get references to a location in memory when it is run, not the strings I want to print. Also, the directories work fine with my local IDE paths, but I cannot access anything else on my computer. I think I am missing something on both counts? -- 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.