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 with the arguments to create 
an employee struct instance.

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

Reply via email to