Re: calling use with a seq of strings

2008-12-15 Thread Brian Doyle
I didn't know about the symbol function. Thanks! I just want to call use on all of the namespaces in the clojure.contrib jar when starting the repl and this will work nicely! On Mon, Dec 15, 2008 at 1:59 PM, Stuart Sierra wrote: > > You can do this: > (apply use (map symbol (list "clojure.contr

Re: calling use with a seq of strings

2008-12-15 Thread Stuart Sierra
You can do this: (apply use (map symbol (list "clojure.contrib.str-utils" "clojure.contrib.duck-streams"))) -Stuart Sierra On Dec 15, 3:51 pm, "Brian Doyle" wrote: > I have a seq of strings that are namespaces like, > ("clojure.contrib.str-utils", "clojure.contrib.duck-streams"). > I wanted to c

calling use with a seq of strings

2008-12-15 Thread Brian Doyle
I have a seq of strings that are namespaces like, ("clojure.contrib.str-utils", "clojure.contrib.duck-streams"). I wanted to call the use function on this seq. I can't seem to do that though. Any way I can do this or is this just a bad idea? Thanks. --~--~-~--~~~-