]> gitweb.factorcode.org Git - factor.git/commitdiff
db.tuples: add 'inline' declaration to example in docs
authorSlava Pestov <slava@shill.local>
Sat, 26 Sep 2009 07:26:07 +0000 (02:26 -0500)
committerSlava Pestov <slava@shill.local>
Sat, 26 Sep 2009 07:26:07 +0000 (02:26 -0500)
basis/db/tuples/tuples-docs.factor

index 4d435e6a89d3faa0e63ce76a8f498518879b1e22..36ae6f07aa0f7aafee1930f2733a0bcd1ac10105 100644 (file)
@@ -232,7 +232,7 @@ T{ book
 "Now we've created a book. Let's save it to the database."
 { $code """USING: db db.sqlite fry io.files ;
 : with-book-tutorial ( quot -- )
-     '[ "book-tutorial.db" temp-file <sqlite-db> _ with-db ] call ;
+     '[ "book-tutorial.db" temp-file <sqlite-db> _ with-db ] call ; inline
 
 [
     book recreate-table