I have a namespace statement like this: (ns alephtest.websocket (:require [alephtest.js-utils :as util]))
If I change this to: (ns alephtest.websocket (:use alephtest.js-utils)) I get this stack trace from the cljsbuild plugin (it took me a while to figure what was causing this): java.lang.UnsupportedOperationException: nth not supported on this type: Symbol RT.java:835 clojure.lang.RT.nthFrom RT.java:785 clojure.lang.RT.nth compiler.clj:820 cljs.compiler/eval1118[fn] core.clj:2432 clojure.core/map[fn] LazySeq.java:42 clojure.lang.LazySeq.sval LazySeq.java:60 clojure.lang.LazySeq.seq RT.java:466 clojure.lang.RT.seq core.clj:133 clojure.core/seq core.clj:600 clojure.core/apply core.clj:2459 clojure.core/mapcat RestFn.java:423 clojure.lang.RestFn.invoke compiler.clj:820 cljs.compiler/eval1118[fn] protocols.clj:64 clojure.core.protocols/fn protocols.clj:11 clojure.core.protocols/fn[fn] core.clj:5995 clojure.core/reduce compiler.clj:831 cljs.compiler/eval1118[fn] MultiFn.java:177 clojure.lang.MultiFn.invoke compiler.clj:1040 cljs.compiler/analyze-seq compiler.clj:1093 cljs.compiler/analyze compiler.clj:1086 cljs.compiler/analyze compiler.clj:1153 cljs.compiler/compile-file* compiler.clj:1191 cljs.compiler/compile-file compiler.clj:1251 cljs.compiler/compile-root closure.clj:350 cljs.closure/compile-dir closure.clj:382 cljs.closure/eval1687[fn] closure.clj:261 cljs.closure/eval1618[fn] closure.clj:396 cljs.closure/eval1674[fn] closure.clj:261 cljs.closure/eval1618[fn] closure.clj:830 cljs.closure/build core.clj:71 cljsbuild.core/compile-cljs core.clj:183 cljsbuild.core/run-compiler NO_SOURCE_FILE:1 user/eval2057[fn] core.clj:158 cljsbuild.core/in-threads[fn] core.clj:1817 clojure.core/binding-conveyor-fn[fn] AFn.java:18 clojure.lang.AFn.call FutureTask.java:303 java.util.concurrent.FutureTask $Sync.innerRun FutureTask.java:138 java.util.concurrent.FutureTask.run ThreadPoolExecutor.java:886 java.util.concurrent.ThreadPoolExecutor $Worker.runTask ThreadPoolExecutor.java:908 java.util.concurrent.ThreadPoolExecutor $Worker.run Thread.java:662 java.lang.Thread.run Are use statements support in ClojureScript? -- 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