unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* pretty-print #:width option
@ 2003-11-06 23:52 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-11-06 23:52 UTC (permalink / raw)


Looking at the new #:width option on pretty-print, I noticed

	(use-modules (ice-9 pretty-print))
	(pretty-print (make-list 25 'x) #:width 1000)

gives

	(x x
	   x
	   ...
	   x)

where I hoped, with such a big width, to get one line

	(x x x ... x)

Nosing around the code I guess max-expr-width is putting a hard limit
of 50 columns on "expressions" like this.

Doesn't seem terribly logical, but perhaps there's some reasoning
behind it.  #:width works to reduce the permitted columns at least.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-06 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-06 23:52 pretty-print #:width option Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).