[plt-scheme] disk-based associative array

From: Keith Frost (keith.l.frost at gmail.com)
Date: Fri May 26 12:47:17 EDT 2006

Sorry, it seems that Erich is right, and SLIB/mzscheme
is not working.  It would be very nice if someone used
the cffi to generate a mzscheme interface to Berkeley DB.
(Python and Perl both have commonly-used interfaces
to Berkeley DB).  In the absence of this, you may want to
"settle" for sqlite.plt, which is a planet package providing a
scheme interface to sqlite.  Create a table with two TEXT
columns, create an index on one of them, and you can have
what you need (and more).

On 5/26/06, Erich Rast <erich at snafu.de> wrote:
> I've got the same requirements, but haven't found a good solution so
> far. Last time I tried the SLIB database in DrScheme it was broken.
> Moreover, as far as I remember the *disk-based* database was an
> extension for SCM only. SLIBs simple a-list db is in-memory.
>
> It would be nice to have an Mzscheme interface to Metakit
> <http://www.equi4.com/metakit.html>.
>
> Best regards,
>
> Erich
>
> > I think you may find what you are looking for in slib,
> > which comes with DrScheme.
> > Look up slib in the Help Desk, and see the documentation
> > here --
> > http://www-swiss.ai.mit.edu/~jaffer/slib_6.html#SEC141
> >>
> >> I'm looking for a simple database system, preferably written in
> >> scheme,
> >> that will allow me to store arbitrary scheme forms which keyed on a
> >> string.  All I need is basically a fast disk-based associative array.
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.