On Tue, Jan 20, 2009 at 11:42 AM, pc <peng2che...@yahoo.com> wrote: > > I think that the get-source function should be changed slightly so > that hyphens in the path (at the first let form) are replaced by > underscores. This would update the function to be consistent with the > documentation for lib.
You're right. > More generally, are hyphens replaced by underscores in the file and > path names for lib purposes? Are there operating systems where xxx-xxx/ > yyy-yyy.clj is a problem? My understanding is that it's not the file or directory name that's a problem, but rather that these map to Java package and class names. Java does not allow deashes in either, presumably because they aren't legal in Java identifiers; they'd look like subtraction operators. > Is there any way to report suggestions or little items like this one > directly to the author? Such items seem a little out of place when > compared to the discussions on language design and other esoteric > topics that are covered. Personally, I feel a little uncomfortable > suggesting any sort of change or error when it comes to code written > by Chris Houser and the other contributors to clojure.contrib. This is the best place to report any size bug or issue. Thanks for catching this one! It's fixed in clojure-contrib svn rev 399. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---