Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] pretty printers and format and matrices
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-06-14 (20:36)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: [Caml-list] pretty printers and format and matrices
> On Thu, 14 Jun 2001, Pierre Weis wrote:
> > Having to open more than 1000 boxes to print any material seems
> > incredible to me, since I used to pretty print an entire Caml compiler
> > within 35 boxes.
> > 
> > Anyway, I'm afraid there is no notion of infinity in Format. Neither
> > in the Caml integer values. Hence no solution to your problem.
> Would it be reasonable to increase the default value from 35?  Are there
> any performance problems with setting this value to max_int in the
> pp_make_formatter routine?
> Patrick
> -------------------
> Bug reports:  FAQ:
> To unsubscribe, mail  Archives:

Yes, setting the default value to the maximum possible value is
conceivable. However, this (reasonable) limit is there as a kind of
alert to tell the user that the number of boxes the programs opens is
now considered large (hence you may consider having a look at the
printing program to see if it works properly). This is the performance
problem you may have (not in the library but in your printing
routines). However if this is generally agreed, we can do it ...

Best regards,

Pierre Weis

INRIA, Projet Cristal,,

Bug reports:  FAQ:
To unsubscribe, mail  Archives: