Hi,

here an example step-by-step:

import clojure.lang.RT;
import clojure.lang.IPersistentVector;
import clojure.lang.PersistentVector;
import clojure.lang.Keyword;

public class SomeClass {
    public static void main(String[] args) {
        Var prn = RT.var("clojure.core", "prn");

        Keyword a = Keyword.intern("a");
        Keyword b = Keyword.intern("b");
        IPersistentVector v = PersistentVector.create(a, b);

        prn.invoke(v);
    }
}

I haven't tested it, but this should print "[:a :b]."

Hope this helps to get you going.

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to