Either :use with [seesaw.chooser :only [choose-file]] like (ns ... (:gen-class) (:use [seesaw.chooser :only [choose-file]])
or the beefed up refer functionality: http://clojuredocs.org/clojure_core/clojure.core/refer which can have :only, :exclude and :rename to avoid collisions, which is more powerful. More info here: http://clojure.org/libs and yes, the seemingly random wrapping of things in lists/vectors that sometimes should be quoted and sometimes not is confusing and has been up to discussion several times. in practice it works quite well, though. /Linus On Thursday, June 5, 2014, Glen Rubin <rubing...@gmail.com> wrote: > In my ns i am using a couple of libraries, e.g. > > (ns providence.core > (:gen-class) > (:use seesaw.chooser)) > > > However, I only want to use 1 or 2 commands from these libraries, for > example (choose-file) from the above seesaw.chooser. How do I specify only > a single library? thanks > > -- > 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 > <javascript:_e(%7B%7D,'cvml','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 > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');>. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.