[racket] Problem writing and reading sets

From: Wayne Iba (iba at westmont.edu)
Date: Fri Jul 5 15:41:16 EDT 2013

If I evaluate (write myset) for myset as (set 1 2 3), the format of the
output is "#<set: 1 2 3>", whereas (print myset) produces "(set 1 2 3)".
Naturally, I can read in the latter but not the former.  From the docs, I
believe the expectation is that we can rely on the output of write for
reading, but not necessarily that of print.

Am I missing something here or is this a problem with how racket is writing
sets?  (I'm using v5.3.5)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130705/00d09082/attachment.html>

Posted on the users mailing list.