From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA29059; Tue, 28 Jan 2003 23:20:09 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA27673 for ; Tue, 28 Jan 2003 23:20:08 +0100 (MET) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h0SMK7v21836 for ; Tue, 28 Jan 2003 23:20:08 +0100 (MET) Received: from tw304h3 oleg_inconnu@smtp-send.myrealbox.com [156.111.84.180] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.24 $ on Novell NetWare via secured & encrypted transport (TLS); Tue, 28 Jan 2003 15:07:44 -0700 Content-Type: text/plain; charset="us-ascii" From: Oleg To: caml-list@inria.fr Subject: [Caml-list] printers and readers Date: Tue, 28 Jan 2003 17:07:02 -0500 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301281707.02613.oleg_inconnu@myrealbox.com> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Is it possible to use Camlp4 (or anything else) to generate printers *and= *=20 readers for *all* types supported by O'Caml? [1] I guess what I'm looking= for=20 is a type-safe version of Lisp's "read", "print" and "write" that I won't= =20 have to write myself by hand for each class of types. Humanly-readable A= SCII=20 text marshalling is another way to see it. Ideally (i.e. with language support), I'd like to have a functorial inter= face=20 for this: a module that generates printers and readers given a type. Thanks Oleg [1] I've already looked at=20 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