Q: > On Sat, Dec 20, 2008 at 11:25 AM, chris <cnuern...@gmail.com> wrote: >> I am unclear as to the difference between refer, import use, and >> require.
A: On Sat, Dec 20, 2008 at 5:40 PM, Chouser <chou...@gmail.com> wrote: > 'require' finds a .clj file in your classpath (which must define a > matching namespace) and loads it into Clojure. > > 'refer' brings definitions from some other already-loaded namespace into > your current namespace. > > 'use' does both in one step (use can use the :verbose flag to see it do > this) > > All of these are for working with namespaces defined via Clojure code. > 'import' is different in that it's only for dealing with .class files. > > --Chouser Good material for the FAQ, no? Or maybe just the docs. Regardless, this is a good explanation. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---