[plt-scheme] results

From: Robert Bruce Findler (robby at cs.uchicago.edu)
Date: Mon Nov 18 21:04:25 EST 2002

At Sun, 17 Nov 2002 14:02:34 -0500, "Daniel Silva" wrote:
> If I say "hello" to drscheme or mzscheme, it says "hello" back to me,
> and if I say (list 1 2 3), it says (1 2 3) back to me.  How do I make it
> say hello in the first case (no quotes), and [1 2 3] in the second
> without using display/write/print/printf?  Maybe even [1, 2, 3] for that
> one.

I think that you need to write your own printer, or maybe your own
pretty printer. MzScheme's implementation of pretty print is one place
to start if you need a pretty printer. I'm not sure why you don't want
to use any of the output routines, however. Probalby you can use
display, but only pass it strings. What is the larger context?


Posted on the users mailing list.