Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] printers and readers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oleg <oleg_inconnu@m...>
Subject: [Caml-list] printers and readers
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