From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 72DBFBC84 for ; Tue, 15 Mar 2005 05:25:23 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2F4PNM5026405 for ; Tue, 15 Mar 2005 05:25:23 +0100 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 FAA26394 for ; Tue, 15 Mar 2005 05:25:22 +0100 (MET) Received: from anthony.ics.uci.edu (anthony.ics.uci.edu [128.195.21.186]) by nez-perce.inria.fr (8.13.0/8.13.0) with SMTP id j2F4PKAf026398 for ; Tue, 15 Mar 2005 05:25:21 +0100 Received: (qmail 28582 invoked by uid 1000); 15 Mar 2005 04:25:20 -0000 Date: Mon, 14 Mar 2005 20:25:20 -0800 From: Christian Stork To: Caml List Subject: Printing values Message-ID: <20050315042519.GA26681@anthony.ics.uci.edu> Mail-Followup-To: Caml List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Archive: encrypt User-Agent: Mutt/1.5.6+20040907i X-Miltered: at nez-perce with ID 423663B3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 423663B0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; debugger:01 toplevel:01 806:98 021:98 data:02 data:02 uci:02 uci:02 types:02 fingerprint:04 chris:05 chris:05 formatter:05 formatter:05 standard:07 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: This must be a dumb question, but I couldn't find an answer. How can I print values of my own data types in the default way, eg, as the debugger or the toplevel does it? Is there a standard formatter that I can use (or generate), or do I have to write a new formatter for each data type? Thanks, Chris -- Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/ OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F