[racket] Any way to force line breaks when printing s-exprs?

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Sun Dec 12 00:09:59 EST 2010

Is there some way, short of rewriting pretty-print myself, to signal
where I want line-breaks when printing an s-expr?

For example, suppose I have '(a b c d), and I'd like it displayed as:

(a b
  c
  d)

Is there a clever way to do that, or am I in for some work?

Todd


Posted on the users mailing list.