That's because it decides when to break greedily. It really ought to be a constraint solver.

Like TeX for Racket programs. Yeah.

Neil T

Robby Findler wrote:
Pretty-print doesn't work all that well, when it gets close up against
the 80 column limit. At least, that's my experience reading its
output.

Robby

On Mon, Aug 2, 2010 at 9:50 AM, Jos Koot <jos.k...@telefonica.net> wrote:
pretty-print (with (pretty-print-columns 80))?
jos

-----Original Message-----
From: users-boun...@racket-lang.org
[mailto:users-boun...@racket-lang.org] On Behalf Of Jos Koot
Sent: 02 August 2010 16:44
To: 'Robby Findler'; 'Horace Dynamite'
Cc: users@racket-lang.org
Subject: Re: [racket] syntax, differently

WQhy would this be tricky?
Jos

-----Original Message-----
From: users-boun...@racket-lang.org
[mailto:users-boun...@racket-lang.org] On Behalf Of Robby Findler
Sent: 02 August 2010 16:34
To: Horace Dynamite
Cc: users@racket-lang.org
Subject: Re: [racket] syntax, differently

On Mon, Aug 2, 2010 at 9:30 AM, Horace Dynamite
<horace.dynam...@gmail.com> wrote:
I
do wonder how tricky it will be do have a line-breaking
routine that
can take as input the program I posted, and produce as output the
program you returned.
That seems very tricky, at least to me.

Robby
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users


_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to