Re: ultra-noob read-line question

2011-10-28 Thread Phil Hagelberg
On Fri, Oct 28, 2011 at 6:54 AM, Andrew wrote: > I should be more specific. I see the exception only with trampoline. > > Exception in thread "main" java.lang.IllegalArgumentException: No > implementation of method: :make-writer of protocol: > #'clojure.java.io/IOFactory found for class: nil (NO_S

Re: ultra-noob read-line question

2011-10-28 Thread Andrew
I should be more specific. I see the exception only with trampoline. Exception in thread "main" java.lang.IllegalArgumentException: No implementation of method: :make-writer of protocol: #' clojure.java.io/IOFactory found for class: nil (NO_SOURCE_FILE:0) -- You received this message because yo

Re: ultra-noob read-line question

2011-10-27 Thread Andrew
What does the exception below mean? Does trampoline require something to be defined/included that the usual way doesn't? Exception in thread "main" java.lang.IllegalArgumentException: No implementation of method: :make-writer of protocol: #'clojure.java.io/IOFactory found for class: nil (NO_SOU

Re: ultra-noob read-line question

2011-10-27 Thread Phil Hagelberg
On Thu, Oct 27, 2011 at 11:32 AM, Andrew wrote: > At the REPL in Emacs, shouldn't the following code allow me to type > something followed by [Enter] and then shouldn't it print my input back out? > (println (read-line)) > When I enter this at the prompt, I immediately see the following. It doesn'

ultra-noob read-line question

2011-10-27 Thread Andrew
At the REPL in Emacs, shouldn't the following code allow me to type something followed by [Enter] and then shouldn't it print my input back out? (println (read-line)) When I enter this at the prompt, I immediately see the following. It doesn't wait for input. user> (println (read-line)) nil ni