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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan T Bryant <jtbryant@v...>
Subject: Oops...
Forgot to save before sending that.  This copy keeps a free list for 
indicies in the dataset so that values don't accidentally get 
overwritten.  It does still have a bug in the destroy function, though 
(I forgot you can't compare functional values).  Conveniently, this 
could be fixed by recursively using the Dataset module to store the 
observer functions and returning a number when one is registered and 
using a number to unregister them.  Also, point of interest, the 
Dataset module could be functorized so that different implementations 
could be used (i.e., persistent using hand rolled code or bindings to 
DBD or a SQL database, or a Red Black Tree/an Array instead of a 


--Jonathan Bryant
  AIM: JonBoy3182