I renamed "file" in clojure.contrib.duck-streams to "file-str."  Now
duck-streams is compatible with java-utils.  Here's the difference:

-------------------------
clojure.contrib.duck-streams/file-str
([& args])
  Concatenates args as strings returns a java.io.File.  Replaces all
  / and \ with File/separatorChar.  Replaces ~ at the start of the
  path with the user.home system property.

-------------------------
clojure.contrib.java-utils/file
([arg] [parent child] [parent child & more])
  Returns a java.io.File from string or file args.


So "file-str" is for the REPL and user-entered strings that may need
to be fixed to make proper file names.  "file" is for strings that are
assumed to be valid file names.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to