"Rich Neswold" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 11:09 AM, Manlio Perillo > <[EMAIL PROTECTED]>wrote: > > > Rich Neswold ha scritto: > > > >> On Wed, Sep 24, 2008 at 4:17 PM, Manlio Perillo > >> <[EMAIL PROTECTED]<mailto: [EMAIL PROTECTED]>> wrote: > >> > >> I need a simple, concurrent safe, database, written in Haskell. > >> A database with the interface of Data.Map would be great, since > >> what I need to to is atomically increment some integer values, and > >> I would like to avoid to use SQLite. > >> > >> How about "MVar (Map k Int)"? or even "Map k (MVar Int)"? > >> > > > > Yes, it is a solution; and I can run a thread that every N seconds > > writes the database to a file. > > > > But this works only if the database is used by only one process. > > > > Ah. When you said "concurrent safe", I thought you meant within the > application. You're looking for something like > this<http://hackage.haskell.org/cgi-bin/hackage-scripts/package/anydbm> > . > Or even HApps-State (http://happs.org/) for moar 0v3rk1ll, of which you can never ever have enough.
-- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or broadcasting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
