[racket-dev] Transparent Structures in XML Library

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Mon Oct 3 17:13:00 EDT 2011

There are ways around it like that. For example, I'm trying to get in the
habit of using ~.s in printf's where it might occur. But, I think it would
be easy in this case to just fix the real problem.

On Mon, Oct 3, 2011 at 3:07 PM, Eli Barzilay <eli at barzilay.org> wrote:

> 10 minutes ago, Doug Williams wrote:
> > Maybe this is general question or observation, but I specifically
> > have the problem with the xml module in Racket. All of the
> > structures defined in collects/xml/private/structures.rkt are
> > transparent. Most of my xml files are hundreds of thousands of bytes
> > to tens of megabytes in size. Needless to say, if any of these make
> > it to a display statement, it isn't pretty.  Actually, since the
> > structures also include location information, the result can be (is)
> > larger than the actual XML was.
> If this is printout on the repl then maybe `pretty-print-depth' is the
> right answer?
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20111003/2f1b097d/attachment.html>

Posted on the dev mailing list.