From: Oleg <oleg_inconnu@myrealbox.com>
To: caml-list@inria.fr
Subject: [Caml-list] printers and readers
Date: Tue, 28 Jan 2003 17:07:02 -0500 [thread overview]
Message-ID: <200301281707.02613.oleg_inconnu@myrealbox.com> (raw)
Hi
Is it possible to use Camlp4 (or anything else) to generate printers *and*
readers for *all* types supported by O'Caml? [1] I guess what I'm looking for
is a type-safe version of Lisp's "read", "print" and "write" that I won't
have to write myself by hand for each class of types. Humanly-readable ASCII
text marshalling is another way to see it.
Ideally (i.e. with language support), I'd like to have a functorial interface
for this: a module that generates printers and readers given a type.
Thanks
Oleg
[1] I've already looked at
http://caml.inria.fr/camlp4/tutorial.new/tutorial007.html#toc51
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2003-01-28 22:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200301281707.02613.oleg_inconnu@myrealbox.com \
--to=oleg_inconnu@myrealbox.com \
--cc=caml-list@inria.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