[elephant-cvs] CVS update: elephant/doc/tutorial.texinfo

Robert L. Read rread at common-lisp.net
Fri Jan 6 14:42:35 UTC 2006


Update of /project/elephant/cvsroot/elephant/doc
In directory common-lisp.net:/tmp/cvs-serv15892

Modified Files:
	tutorial.texinfo 
Log Message:
Making sure the directory exists

Date: Fri Jan  6 15:42:34 2006
Author: rread

Index: elephant/doc/tutorial.texinfo
diff -u elephant/doc/tutorial.texinfo:1.1 elephant/doc/tutorial.texinfo:1.2
--- elephant/doc/tutorial.texinfo:1.1	Sun Sep 19 19:44:42 2004
+++ elephant/doc/tutorial.texinfo	Fri Jan  6 15:42:34 2006
@@ -378,7 +378,7 @@
 deserialization, no merge conflicts.....
 
 @lisp
-* (defvar *friends-birthdays* (make-instance 'btree))
+* (defvar *friends-birthdays* (make-btree))
 => *FRIENDS-BIRTHDAYS*
 
 * (add-to-root "friends-birthdays" *friends-birthdays*)
@@ -500,7 +500,7 @@
 and I put them in a table
 
 @lisp
-* (defvar *appointments* (with-transaction () (make-instance 'indexed-btree)))
+* (defvar *appointments* (with-transaction () (make-indexed-btree)))
 => *APPOINTMENTS*
 @end lisp
 
@@ -609,7 +609,7 @@
 run recovery on the database (see sleepycat docs) you can specify that
 with the @code{:recover} and @code{:recover-fatal} keys.
 
-To create one by hand, 
+To create one by hand one can do, 
 
 @lisp
 * (setq *store-controller* (make-instance 'store-controller :path "testdb"))
@@ -619,7 +619,15 @@
 => #<STORE-CONTROLLER @{49252F75@}>
 @end lisp
 
-opens the environment and database.  The @code{persistent-*} objects
+but
+
+ at lisp
+* (open-store "testdb"))
+ at end lisp
+
+is preferred.
+
+This opens the environment and database.  The @code{persistent-*} objects
 reference the @code{*store-controller*} special.  (This is in part because
 slot accessors can't take additional arguments.)  If for some reason
 you want to operate on 2 store controllers, you'll have to do that by




More information about the Elephant-cvs mailing list