The version of Clojure that I was using's read-line function was
broken obviously, the release version works.

On Feb 3, 3:37 pm, Rayne <[email protected]> wrote:
> Whenever I try to use read-line, the program compiles but when it's
> run and it gets to where it uses the function it gives me this error
>
> Exception in thread "main" java.lang.ClassCastException:
> clojure.lang.LineNumberingPushbackReader cannot be cast to
> java.io.BufferedReader
>         at clojure.core$read_line__3987.invoke(core.clj:1976)
>         at testbuttsecks.main$prompt_read__412.invoke(main.clj:14)
>         at testbuttsecks.main$_main__425.invoke(main.clj:37)
>         at clojure.lang.AFn.applyToHelper(AFn.java:172)
>         at clojure.lang.AFn.applyTo(AFn.java:165)
>         at testbuttsecks.main.main(Unknown Source)
>
> Here is the code I'm using.
>
> http://paste.pocoo.org/show/102647/
>
> However, the 'read' function works perfectly, but I don't need it for
> what I'm doing. Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to