I'm trying to write a Clojurescript application which lets the user enter a 
short bit of "glue" code (in clojurescript) that uses various included 
libraries.

I'm eval-ing the user-entered code. But it can't see any of the functions 
that were imported through require in the main page.

I tried setting the :ns of the opts argument to eval to be the quoted name 
of my current namespace but that doesn't seem to work.

Is there any way else that the eval environment can see these libraries?

Question on SO :  
https://stackoverflow.com/questions/46866902/clojurescript-eval-how-to-use-libraries-included-in-the-calling-code


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to