Re: One little question about vectors and nth?

2012-06-23 Thread thomas kalbe
you don't need the list (and it's wrong doing so). Try (.SetOrigin cone (nth v 0) (nth v 1) (nth v 2)) or (.SetOrigin cone (v 0) (v 1) (v 2)) -thomas On 23.06.2012 11:33, Antonio Recio wrote: I have an object called cone. I can change the origin of the cone with this: (.SetOrigin cone 1

Re: Clojure on Android

2012-05-26 Thread thomas kalbe
On 25.05.2012 23:45, HelmutKian wrote: I've recently been on board a project that will targeting Android, and I've been given pretty much free reign chose my tools. I'm an experienced Common Lisper and a fairly new Clojure user, but I'd like to know about the feasibility of writing real-world

question about a macro

2012-04-19 Thread thomas kalbe
Hi, I'd like to write a macro which transforms (my-macro SomeClass. a b [x y] c [e f]) into (SomeClass. a b x y c e f) (the order of collections and single values in the arguments should be arbitrary) The closest I came was (defmacro my-macro [func & args] `(~func ~@(flatten args))) Th