[racket-dev] Transparent Structures in XML Library

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Oct 3 17:07:30 EDT 2011

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!


Posted on the dev mailing list.