This is an odd one. It seems that, when new functions are added to 
cljs.core, the code generated when you compile targeting nodejs doesn't 
include them. I noticed this initially when I pulled this 
commit 
https://github.com/clojure/clojurescript/commit/3b3ed7783ebbd07fec6772b6a1bca4ed32924fb8
 
and then tried to use 'rand'. I checked the generated code and rand is not 
defined anywhere. It works if I don't target nodejs (that works differently 
because it doesn't generate a file with the core functions and your code in 
it together) and it works from the REPL. I've quadruple checked my classpath 
and it's the same classpath every time. It only happens when I target 
nodejs.

Any ideas?

-- 
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