Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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.


[1] I've already looked at
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: