From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 41A66BBD7 for ; Fri, 5 Aug 2005 01:17:08 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j74NH7kf016535 for ; Fri, 5 Aug 2005 01:17:07 +0200 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 BAA28653 for ; Fri, 5 Aug 2005 01:17:07 +0200 (MET DST) Received: from ash25e.internode.on.net (ash25e.internode.on.net [203.16.214.182]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j74NH4IG016530 for ; Fri, 5 Aug 2005 01:17:06 +0200 Received: from rosella (ppp11-151.lns1.syd7.internode.on.net [59.167.11.151] (may be forged)) by ash25e.internode.on.net (8.12.9/8.12.6) with ESMTP id j74NH1ul061719; Fri, 5 Aug 2005 08:47:03 +0930 (CST) (envelope-from skaller@users.sourceforge.net) Subject: Re: [Caml-list] Marshal and Polymorphism From: skaller To: jtbryant@valdosta.edu Cc: caml-list@inria.fr In-Reply-To: <1123187967.3276.94.camel@starlight.valdosta.edu> References: <1123179836.3276.76.camel@starlight.valdosta.edu> <42F2752C.9070904@crans.org> <1123187967.3276.94.camel@starlight.valdosta.edu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hJr1FvE9+hj4YbfrX9Vz" Date: Fri, 05 Aug 2005 09:17:01 +1000 Message-Id: <1123197421.6720.56.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 X-Miltered: at nez-perce with ID 42F2A1F3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42F2A1F1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 polymorphism:01 wrote:01 sourceforge:01 sourceforge:01 marshal:01 data:02 data:02 types:02 thu:05 manual:07 john:08 sense:08 file:08 2005:89 X-Attachments: type="application/pgp-signature" name="signature.asc" X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 --=-hJr1FvE9+hj4YbfrX9Vz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2005-08-04 at 16:39 -0400, Jonathan Bryant wrote: > My question is: Will this /always/ work (given that the type of data I > read out of the file is the same)? Is it really that simple? No, it won't *always* work in the sense that some data types cannot be serialised. See also 18.9.1 of the manual. --=20 John Skaller --=-hJr1FvE9+hj4YbfrX9Vz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBC8qHtsRp8/9aGVGsRAhFfAJ42mb62ucwo6/qlXTNgAfynkvwXuACfSbER XaZLtnucHA/N/8UXBKRMlUs= =wTkv -----END PGP SIGNATURE----- --=-hJr1FvE9+hj4YbfrX9Vz--