On Thu, Oct 25, 2012 at 3:21 PM, larry google groups <lawrencecloj...@gmail.com> wrote: > I look here and see that the old monolithic Clojure contrib had an "exists" > function: > > http://clojuredocs.org/clojure_contrib/clojure.contrib.java-utils/file > > I see this example: > > (. (clojure.contrib.java-utils/file "...") exists) > > I'd like to do that but I don't know how with the modern clojure.java.io.
That's a Java method invocation, equivalent to (.exists (io/file "...")) with your io alias. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- 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