English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Marshal and Polymorphism
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-04 (23:17)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Marshal and Polymorphism
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.

John Skaller <skaller at users dot sourceforge dot net>