Re: calling overloaded Java methods

2009-03-07 Thread Timothy Pratley
BTW Clojure has a future macro (and future-call function) now. --~--~-~--~~~---~--~~ 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 g

Re: calling overloaded Java methods

2009-03-06 Thread Jason Wolfe
On Mar 6, 3:23 pm, Mark Volkmann wrote: > The code below gives java.lang.IllegalArgumentException: More than one > matching method found: submit. Is there a way to tell Clojure which > submit method I want? > > (defn do-stuff [] >   (+ 2 2)) > > (let [executor (java.util.concurrent.Executors/ne