You are looking at historical revision 33465 of this page. It may differ significantly from its current revision.

level-sexp

Description

Read and write s-expressions to a level implementation.

Example use

(use leveldb level level-sexp)

(define db
  (level-sexp (open-db "testdb")))

(db-put db "key" '((name . "test")))
(db-get db "key") ;; => ((name . "test"))

API

[procedure] (level-sexp db)

Wrap another level implementation, enabling read/write of s-expression values instead of raw strings. Keys are not translated from s-expressions to strings, only values.

Source code / issues

https://github.com/caolan/chicken-level-sexp