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
Long-term storage of values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-28 (20:01)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] Long-term storage of values
Hello Dario,

2008/2/28 Dario Teixeira <>:
>  I am therefore looking for an alternative to marshalling that a) does
>  not suffer from the brittleness problem, and b) is fast.  At the
>  moment, the best thing that occurs to me is to convert the data into
>  XML and to store it as such in the DB (the data is easily converted
>  into XML).

I asked a similar question once. One of the answer was to use Sexplib,
to store your values as Lisp S-exp:

You could also use Config_file: