Skip to content

ijp/guile-gdbm

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Guile bindings for GDBM

Description

This module provides functions for guile to manipulated databases using the gdbm library.

License

guile-gdbm is licensed under the GPL version 3, as is gdbm. See COPYING for more details.

Example

(use-modules (gdbm))

(define db (gdbm-open "/tmp/example.db" GDBM_WRCREAT))

(gdbm-set! db "foo" "bar")
(gdbm-set! db "baz" "quux")
(gdbm-set! db "zot" "veeblefetzer")

(write (gdbm-fold (lambda (key value old)
                    (cons (cons key value) old))
                  '()
                  db))
;; (("foo" . "bar") ("zot" . "veeblefetzer") ("baz" . "quux"))

About

guild bindings for gdbm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages