Re: Caching an anon function

2014-10-31 Thread Phillip Lord
Oh, dear, did I leave a trailing reference in my headers? Mars0i writes: > Phil, I think your post accidentally ended up in the wrong place. I > believe you intended to create a new thread. > > On Friday, October 31, 2014 4:55:39 AM UTC-5, Phillip Lord wrote: >> >> >> >> I want to pass a java

Re: Caching an anon function

2014-10-31 Thread Mars0i
Phil, I think your post accidentally ended up in the wrong place. I believe you intended to create a new thread. On Friday, October 31, 2014 4:55:39 AM UTC-5, Phillip Lord wrote: > > > > I want to pass a java method call to a function. So instead of this: > ... > -- You received this message

Caching an anon function

2014-10-31 Thread Phillip Lord
I want to pass a java method call to a function. So instead of this: (defn call-method [] (.getCanonicalName Object)) I have something like this... (defn indirect-call [f clazz] (f clazz)) (defn indirect-call-memfn [] (indirect-call (memfn ^java.lang.Class getCanonicalName) Object))