Created
May 1, 2010 14:11
-
-
Save tom-lpsd/386354 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; java -cp tokyocabinet.jar:clojure-1.2.0-master-SNAPSHOT.jar clojure.main | |
(import '(tokyocabinet HDB)) | |
(doto (new HDB) | |
(.open "hoge.tch" (bit-or HDB/OWRITER HDB/OCREAT)) | |
(.put "1" "one") | |
(.put "12" "twelve") | |
(.put "144" "one forty four") | |
(.close)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment