I found the Solution. :-)
I hope it help other people with the same issues, this worked out for
me. I read clojure code on github and java code as well after some
time struggling with the objects and functions I found this solution:
package com.github.diegopacheco.sandbox.java.clojure;
imp
You Right! BUT still does not work.
I tried:
Var type = RT.var("clojure.core","type");
Object oType = type.invoke("employee");
Var struct = RT.var("clojure.core", "struct-map");
Object oStruct =
stru
I suspect this...
Var struct = RT.var("clojure.core", "struct","employee :diego 10 :coach
1000");
isn't doing what you think it will. That will set the root binding of
clojure.core/struct to the string you gave it. you probably want to get the
var for the struct function, and then invoke it