Re: Bug with struct-maps and *print-dup*

2009-07-13 Thread Chouser
On Mon, Jul 13, 2009 at 1:25 PM, Mark Engelberg wrote: > > Thanks for confirming the bug that struct-maps written with > *print-dup* bound to true cannot be read back in.  So is this a bug > with the writer or the reader, or with the create method of struct > maps, or something else? This is a kn

Re: Bug with struct-maps and *print-dup*

2009-07-13 Thread Mark Engelberg
On Fri, Jul 10, 2009 at 6:52 AM, J. McConnell wrote: > > On Thu, Jul 9, 2009 at 11:31 PM, Mark Engelberg > wrote: >> >> I'm running Clojure 1.0. >> >> Could someone please check and see whether this is still a bug in the >> most current version? > > Yup, I still see the same behavior in HEAD. > >

Re: Bug with struct-maps and *print-dup*

2009-07-10 Thread J. McConnell
On Thu, Jul 9, 2009 at 11:31 PM, Mark Engelberg wrote: > > I'm running Clojure 1.0. > > Could someone please check and see whether this is still a bug in the > most current version? Yup, I still see the same behavior in HEAD. - J. --~--~-~--~~~---~--~~ You receiv

Bug with struct-maps and *print-dup*

2009-07-09 Thread Mark Engelberg
I'm running Clojure 1.0. Could someone please check and see whether this is still a bug in the most current version? (use 'clojure.contrib.duck-streams) (defstruct t :a) (def x (struct-map t :a 1)) (def s (binding [*print-dup* true] (with-out-str (pr x (read-string s) ERROR: java.lang.Runti