[plt-scheme] Re: Formatting Code

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sat Sep 15 21:55:36 EDT 2007

On 9/15/07, Majorinc, Kazimir <kazimir at chem.pmf.hr> wrote:
> Robby Findler wrote:
> > Did you write it, or is it generated? If the former, maybe you
> > consider reading up on some constructs for modularity.
> It is generated code, and nothing especially complicated. For example,
> if I display the list, then I use the form (list 1 2 3 ...) because I
> want to be able to reuse parts of the output as a code.

Try just assembling the sexp and then using pretty-print. I won't say
it is fast, but it is probably much faster.


Posted on the users mailing list.