If I have a clojure script that looks like this... (ns foo) (defn myfunc [n] ...)
I can call that function from Groovy using something like this... Compile.load <reader on the file> def var = RT.var('foo', 'myfunc') var.invoke(9) I think that is working fine. I cannot figure out how to do this if the clojure script does not define a namespace. How would I manage that? Thanks. jb -- Jeff Brown SpringSource http://www.springsource.com/ Autism Strikes 1 in 166 Find The Cause ~ Find The Cure http://www.autismspeaks.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---