English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Print values like the toplevel's printer
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-05 (19:25)
From: Frédéric_Gava <frederic.gava@w...>
Subject: Re: [Caml-list] [Too hard?] Print values like the toplevel's printerI
> 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

> 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.