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
The Bridge Pattern in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-03-28 (11:45)
From: Jim Farrand <jim.farrand@g...>
Subject: Re: [Caml-list] The Bridge Pattern in OCaml
On 28/03/2008, Oliver Bandel <oliver@first.in-berlin.de> wrote:
>  It seems that you already know, what things you
>  want to write to the files


The opposite in fact.  I want to be able to serialize things I (the
framework designer) never even thought of.  I want the users of my
framework to have maximum flexibility to implement whatever behaviour
they like, without restricted them to the things I thought of putting
into the file format.

O'Caml marshalling is in the right direction (take any closure and
serialize it, this is very flexible in this respect), but it is far to
restricted in other ways to be of use (file format tied to particular