Skip to content

Commit

Permalink
hashtable implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicferrier committed Sep 30, 2012
1 parent 039ddfc commit cfe6cca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.creole
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -91,3 +91,12 @@ Logical combinations of {{{|}}} and {{{&}}} are also possible.
{{{db}}} comes with a simple implementation which can store any {{{db}}} comes with a simple implementation which can store any
EmacsLisp object (though alists would most usually be preferred). EmacsLisp object (though alists would most usually be preferred).


To make a {{{db}}} with the hash implementation:

{{{
(db-make
`(db-hash
:filename ,(format "/var/cache/some-file")))
}}}

Obviously, most often you will assign the db to a global variable.

0 comments on commit cfe6cca

Please sign in to comment.