Re: IllegalStateException Attempting to call unbound fn

2014-08-22 Thread Serzh Nechyporchuk
You should import LinkedBlockingQueue to your namespace. (ns ... (:import java.util.concurrent.LinkedBlockingQueue)) (recommended way) or (import 'java.util.concurrent.LinkedBlockingQueue) Why do this error is misleading for you? 2014-08-22 1:35 GMT+03:00 gvim gvi...@gmail.com:

Re: IllegalStateException Attempting to call unbound fn

2014-08-22 Thread gvim
On 22/08/2014 07:54, Serzh Nechyporchuk wrote: You should import LinkedBlockingQueue to your namespace. (ns ... (:import java.util.concurrent.LinkedBlockingQueue)) (recommended way) or (import 'java.util.concurrent.LinkedBlockingQueue) Why do this error is misleading for

IllegalStateException Attempting to call unbound fn

2014-08-21 Thread gvim
I can't work out why this code produces an exception: (defn fints [ args] (assert (every? integer? args)) (vec args)) (defn testf [x] (fints x)) (testf 42) IllegalStateException Attempting to call unbound fn: #'gh1.core/testf clojure.lang.Var$Unbound.throwArity (Var.java:43) gvim

Re: IllegalStateException Attempting to call unbound fn

2014-08-21 Thread Serzh Nechyporchuk
Attempting to call unbound fn: #'gh1.core/testf clojure.lang.Var$Unbound.throwArity (Var.java:43) gvim -- 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

Re: IllegalStateException Attempting to call unbound fn

2014-08-21 Thread Serzh Nechyporchuk
) IllegalStateException Attempting to call unbound fn: #'gh1.core/testf clojure.lang.Var$Unbound.throwArity (Var.java:43) gvim -- 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

Re: IllegalStateException Attempting to call unbound fn

2014-08-21 Thread gvim
On 21/08/2014 09:39, Serzh Nechyporchuk wrote: Can you put all file that you try to load? Here it is. Just bits and pieces for practice: (ns gh1.core) (defn foo I don't do a whole lot. [x] (println x Hello, World!)) (foo Garry) (doseq [x [1 2 3 4 5] y [11 22 33 44 55]]

Re: IllegalStateException Attempting to call unbound fn

2014-08-21 Thread Serzh Nechyporchuk
This code works fine for me. Did you try to reload repl? 2014-08-21 16:29 GMT+03:00 gvim gvi...@gmail.com: On 21/08/2014 09:39, Serzh Nechyporchuk wrote: Can you put all file that you try to load? Here it is. Just bits and pieces for practice: (ns gh1.core) (defn foo I don't do a

Re: IllegalStateException Attempting to call unbound fn

2014-08-21 Thread gvim
On 21/08/2014 14:35, Serzh Nechyporchuk wrote: This code works fine for me. Did you try to reload repl? Reloaded but now getting this error: CompilerException java.lang.IllegalArgumentException: Unable to resolve classname: LinkedBlockingQueue Maybe something needs :require-ing If this