[racket] pretty-printing example output in Scribble manual?
On Sun, Jan 23, 2011 at 07:31:16PM -0700, Matthew Flatt wrote:
> At Sun, 23 Jan 2011 17:03:07 -0500, Richard Cobbe wrote:
> > Is there a way to get Scribble's @example form to pretty-print its output?
> > [...]
> > I'm already using a custom evaluator for the examples, so I looked for a
> > way to change that evaluator's printer, but I wasn't able to find anything
> > like that in the docs.
>
> The evaluator prints results using `current-print', so install the
> pretty printer as `current-print' in the evaluator that you use with
> `examples':
Perfect -- thanks!
Richard