On Oct 24, 9:44 am, stephan <[EMAIL PROTECTED]> wrote: > user> (use 'clojure.contrib.duck_streams) > gives me this exception: > java.lang.Exception: namespace 'clojure.contrib.duck_streams' not > found after loading '/clojure/contrib/duck_streams/ > duck_streams.clj' (NO_SOURCE_FILE:0)
Hi Stephan, This is because the underscores in file names become hyphens in library names. You want this: (use 'clojure.contrib.duck-streams) Why, you ask? Well, Lisps typically use hyphens instead of underscores, but Java doesn't allow hyphens in package names. So... we have a hack. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---