Re: How to compose a java function

2014-02-20 Thread Steffen Panning
Thanks. Note to self: Don't post when you are dead tired. greetings Steffen On Thursday, February 20, 2014 11:02:51 PM UTC+1, Steffen Panning wrote: > > Hi all, > > I want to compose a java function call out of a string in a macro: > > I tried something like this sim

How to compose a java function

2014-02-20 Thread Steffen Panning
Hi all, I want to compose a java function call out of a string in a macro: I tried something like this simplified example, but it doesn't work. creating a symbol out of a string is not enough. Note: I know that uppercase variable names are bad, but it simplifies the example. So how I do it righ

[java interop] downcast

2012-10-24 Thread Steffen Panning
Hello Group, the Java API I'm currently working with expects that an Interface is downcasted to a concrete class. As a quick test I toyed with this: (cast Integer (cast Number 1)) ClassCastException Cannot cast java.lang.Long to java.lang.Integer java.lang.Class.cast (Class.java:3007) It see

Re: ANN: Clojure 1.3 and 1.4 Cheat Sheet v7

2012-10-15 Thread Steffen Panning
This is just great, I'm relatively new to cojure and somehow I never saw this until now. This will speed up my coding a lot. Thanks Steffen On Monday, October 15, 2012 4:17:35 AM UTC+2, Andy Fingerhut wrote: > > My recent updates prompted me to go through my to do list of enhancement > ideas f