Re: Newify java class dynamically

2015-03-10 Thread Juvenn Woo
Good to know thee, thank you T & T! — Sent from Mailbox On Mon, Mar 9, 2015 at 11:21 PM, Tassilo Horn wrote: > "Juvenn Woo" writes: >> I am writing a function that'll take a java class name as an arg, >> wherein I'll make instance of the class. Several approaches did I try: >> >> (let [klass

Re: Newify java class dynamically

2015-03-09 Thread Tassilo Horn
"Juvenn Woo" writes: > I am writing a function that'll take a java class name as an arg, > wherein I'll make instance of the class. Several approaches did I try: > > (let [klass Integer] (new klass 42)) ; this raises exception "unable to > resolve > symbol: klass" > > (let [klass Integer] (.new

Re: Newify java class dynamically

2015-03-09 Thread Tobias Kortkamp
On 03/09/2015 15:45, Juvenn Woo wrote: > Hi all, > > I am writing a function that'll take a java class name as an arg, > wherein I'll make instance of the class. Several approaches did I try: > > (let [klass Integer] (new klass 42)) ; this raises exception "unable to > resolve symbol: klass" > >