While using the code distributed with Stu Halloway's Programming
Clojure book I get the following exception from (read-line):
java.lang.ClassCastException:
clojure.lang.LineNumberingPushbackReader (NO_SOURCE_FILE:0)
So I downloaded the latest trunk from SVN, and (read-line) works
fine.
I think this was discussed here:
http://groups.google.com/group/clojure/browse_frm/thread/48f1fb08b3052083/85f858df39daca2a?hl=enlnk=gstq=linenumberingpushbackreader#85f858df39daca2a
I'm not sure what the resolution was, if any.
-Jason
On Mar 9, 4:33 am, David Sletten da...@bosatsu.net
On Mar 9, 2009, at 8:41 AM, Jason Wolfe wrote:
I think this was discussed here:
http://groups.google.com/group/clojure/browse_frm/thread/
48f1fb08b3052083/85f858df39daca2a?
hl=enlnk=gstq=linenumberingpushbackreader#85f858df39daca2a
I'm not sure what the resolution was, if any.
Hi,
This was fixed at SVN revision 1321 on Mar 3:
http://code.google.com/p/clojure/source/detail?r=1321
David, the lazy branch was merged into trunk (at r1287) -- track trunk
you'll have what you need (lazy-seq, not lazy-cons).
Best,
Perry