From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28006; Thu, 14 Jun 2001 22:36:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA28384 for ; Thu, 14 Jun 2001 22:36:24 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f5EKaMX21636; Thu, 14 Jun 2001 22:36:22 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28184; Thu, 14 Jun 2001 22:36:22 +0200 (MET DST) From: Pierre Weis Message-Id: <200106142036.WAA28184@pauillac.inria.fr> Subject: Re: [Caml-list] pretty printers and format and matrices In-Reply-To: from Patrick M Doane at "Jun 14, 101 03:58:46 pm" To: patrick@watson.org (Patrick M Doane) Date: Thu, 14 Jun 2001 22:36:22 +0200 (MET DST) Cc: caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr 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, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr