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 XAA10210; Tue, 12 Jun 2001 23:00:26 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA10285 for ; Tue, 12 Jun 2001 23:00:24 +0200 (MET DST) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f5CL0Ib20096 for ; Tue, 12 Jun 2001 23:00:19 +0200 (MET DST) Received: from checkerlap.d6.com ([64.160.54.6]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GEU00FHG4Z5XK@mta5.snfc21.pbi.net> for caml-list@inria.fr; Tue, 12 Jun 2001 13:59:30 -0700 (PDT) Date: Tue, 12 Jun 2001 14:01:27 -0700 From: Chris Hecker Subject: Re: [Caml-list] pretty printers and format and matrices In-reply-to: <20010612210342.A662@miss.wu-wien.ac.at> X-Sender: def6@shell16.ba.best.com To: Markus Mottl Cc: caml-list@inria.fr Message-id: <4.3.2.7.2.20010612135731.029837a0@shell16.ba.best.com> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Content-type: text/plain; charset="us-ascii" References: <4.3.2.7.2.20010612111351.029b8720@shell16.ba.best.com> <4.3.2.7.2.20010612111351.029b8720@shell16.ba.best.com> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >Once one gets used to it, it's really fun so don't give up... I had the choice of "try to get the formatting working for no other reason than curiosity" or "write more real code on my game", so the latter edged it out. :) > let print2d ppf a = This works better, thanks! I swear I tried something exactly like that... There's a tiny bit of weirdness with the tabs after the first column, but it's way better than what I had. I definitely tried the @\n, but I admit I was randomly typing at that point. The docs could stand to be a bit clearer on newlines versus breaks. Perhaps your print2d would make a good complementary tutorial to the expression printer in the FAQ... Thanks, Chris ------------------- 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