caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* picking / marshaling to strings in ocaml-revision-stable way
@ 2008-05-31  6:43 Luca de Alfaro
  2008-05-31  7:24 ` [Caml-list] " asmadeus77
  2008-05-31  8:43 ` Jacques Garrigue
  0 siblings, 2 replies; 16+ messages in thread
From: Luca de Alfaro @ 2008-05-31  6:43 UTC (permalink / raw)
  To: Inria Ocaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

I need a way to convert  data structures to strings, in a way that is robust
with respect to different versions of Ocaml.
What I need to translate are mostly mixes of tuples, lists and variant
types.  A typical example of data to marshal/pickle may look like:

(3.4, [Move (4, 3, 5); Del (4, 2); Ins (4, 2)], "an example")

I heard that the marshaling of the module Marshal is not robust with respect
to changes in the version of Ocaml, and since I need to insert the data in a
database for long-term use, this is a serious drawback. I need the
marshaling and unmarshaling to be completely independent from the version of
Ocaml, and from the particular architecture where the marshaling occurs.
I could of course write my own solution, but I am wondering if there are any
suitable modules  available that I could use.

Many thanks!

Luca

[-- Attachment #2: Type: text/html, Size: 912 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-06-02 11:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-31  6:43 picking / marshaling to strings in ocaml-revision-stable way Luca de Alfaro
2008-05-31  7:24 ` [Caml-list] " asmadeus77
2008-05-31  8:43 ` Jacques Garrigue
2008-05-31  9:38   ` Berke Durak
2008-05-31 16:54     ` Luca de Alfaro
2008-05-31 17:00       ` Robert Fischer
2008-05-31 17:24         ` Luca de Alfaro
2008-05-31 22:18           ` Martin Jambon
2008-05-31 17:25         ` blue storm
2008-05-31 21:34         ` Berke Durak
2008-05-31 22:51           ` Stefano Zacchiroli
2008-06-02  9:04             ` Berke Durak
2008-06-02  9:21               ` Stefano Zacchiroli
2008-06-01 11:14           ` Martin Jambon
2008-06-02 11:13         ` Richard Jones
2008-05-31 17:06       ` Yaron Minsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).