caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] printers and readers
@ 2003-01-28 22:07 Oleg
  0 siblings, 0 replies; only message in thread
From: Oleg @ 2003-01-28 22:07 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-28 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-28 22:07 [Caml-list] printers and readers Oleg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).