From: Martin Jambon <martin_jambon@emailuser.net>
To: "Wolfgang Müller" <Wolfgang.Mueller2@uni-bayreuth.de>
Cc: padiolea@irisa.fr, <pad@ryxa.irisa.fr>, <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] [Too hard?] Print values like the toplevel's printerI
Date: Fri, 5 Nov 2004 10:54:28 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.44.0411051034350.882-100000@localhost> (raw)
In-Reply-To: <35177.217.84.62.245.1099678046.squirrel@btn1x1.inf.uni-bayreuth.de>
On Fri, 5 Nov 2004, Wolfgang Müller wrote:
> > why don't you like this solution ? is it because it is slow ? ugly ?
>
> I think your solution gives me the feeling that there must be something
> simpler than that.
>
> This is not criticizing you, it is rather a question to the Caml people,
> like e.g. X. Leroy and colleagues and/or the ExtLibs:
>
> (Why?) is there no really simple way getting the print functionality of
> the standard toplevel?
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.
It should be not too difficult to adapt it for printing data with an
OCaml-compliant syntax.
Martin
--
Martin Jambon, PhD
Researcher in Structural Bioinformatics since the 20th Century
The Burnham Institute http://www.burnham.org
San Diego, California
next prev parent reply other threads:[~2004-11-05 18:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-05 12:23 Print values like the toplevel's printer Wolfgang Müller
2004-11-05 13:31 ` [Caml-list] " padiolea
2004-11-05 13:54 ` Wolfgang Müller
2004-11-05 15:51 ` pad
2004-11-05 18:07 ` [Too hard?] Print values like the toplevel's printerI Wolfgang Müller
2004-11-05 18:28 ` [Caml-list] " pad
2004-11-05 18:54 ` Martin Jambon [this message]
2004-11-05 19:26 ` Frédéric Gava
2004-11-05 20:01 ` [Caml-list] [Too hard?] Print values like the toplevel's printer Wolfgang Müller
2004-11-06 11:15 ` [Caml-list] " Jim
2004-11-08 23:44 ` brogoff
2004-11-09 8:48 ` Daniel Bünzli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0411051034350.882-100000@localhost \
--to=martin_jambon@emailuser.net \
--cc=Wolfgang.Mueller2@uni-bayreuth.de \
--cc=caml-list@yquem.inria.fr \
--cc=pad@ryxa.irisa.fr \
--cc=padiolea@irisa.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox