[Haskell-cafe] A distributed and replicating native Haskell
database  Paul Johnson paul at cogito.org.uk Fri Feb 2 10:06:53
EST 2007  Joel Reymont wrote: > Folks, > Allegro Common Lisp has
AllegroCache [1], a database built on B-Trees  > that lets one
store Lisp objects of any type. You can designate  > certain
slots (object fields) as key and use them for lookup. ACL used
> to come bundled with the ObjectStore OODBMS for the same
purpose but  > then adopted a native solution. > AllegroCache is
not distributed or replicating but supports automatic  >
versioning. You can redefine a class and new code will store
more (or  > less) data in the database while code that uses the
old schema will  > merrily chug along. That implies being able
to put persistent code into the database. Easy  enough in Lisp,
less easy in Haskell. How do you serialize it?  As a rule,
storing functions along with data is a can of worms. Either  you
actually store the code as a BLOB or you store a pointer to the
function in memory. Eithe