From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 91346BC28 for ; Fri, 5 Nov 2004 20:25:06 +0100 (CET) Received: from mwinf0101.wanadoo.fr (smtp1.wanadoo.fr [193.252.22.30]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iA5JP6W0013569 for ; Fri, 5 Nov 2004 20:25:06 +0100 Received: from me-wanadoo.net (orion.toppoint.de [127.0.0.1]) by mwinf0101.wanadoo.fr (SMTP Server) with SMTP id 383971C00245; Fri, 5 Nov 2004 20:25:06 +0100 (CET) Received: from nono (ARouen-106-1-40-128.w80-13.abo.wanadoo.fr [80.13.225.128]) by mwinf0101.wanadoo.fr (SMTP Server) with SMTP id A1A481C00223; Fri, 5 Nov 2004 20:25:05 +0100 (CET) Message-ID: <006a01c4c36d$4d4d9c40$0100a8c0@mshome.net> From: =?iso-8859-1?Q?Fr=E9d=E9ric_Gava?= To: "Martin Jambon" , =?iso-8859-1?Q?Wolfgang_M=FCller?= Cc: , , References: Subject: Re: [Caml-list] [Too hard?] Print values like the toplevel's printerI Date: Fri, 5 Nov 2004 20:26:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Miltered: at nez-perce with ID 418BD392.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; gava:01 gava:01 caml-list:01 toplevel's:01 rauglaudre:01 wrote:01 ioxml:01 ocaml:01 syntax:01 functions:01 functions:01 data:02 data:02 hoc:02 seems:03 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.0 X-Spam-Level: > Daniel de Rauglaudre wrote a Camlp4 extension that lets you export (and > import) non-circular data to XML (it reads type definitions and uses this > to insert the ad hoc export/import functions). > This is called IoXML. Maybe it has not been updated for the 3.08 > version of Camlp4. I used it all the times and this library does not work with OCaml 3.08. If have made a little modification and it seems to work (for my data). If you need it, I could sent you this modification. Frédéric Gava ps: > It should be not too difficult to adapt it for printing data with an > OCaml-compliant syntax. Juste change the name and the type of some functions.