]> gitweb.factorcode.org Git - factor.git/commitdiff
More doc fixes
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 23 Sep 2008 21:19:32 +0000 (16:19 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Tue, 23 Sep 2008 21:19:32 +0000 (16:19 -0500)
basis/smtp/smtp-docs.factor
core/sequences/sequences-docs.factor

index e859e082ff65cb7c244858954c31104221b6b367..c1c2d1c1f8f151a9884c2ec5e673097966c00e51 100644 (file)
@@ -41,7 +41,7 @@ HELP: send-email
     }
 } ;
 
-ARTICLE: "smtp" "SMTP Client Library"
+ARTICLE: "smtp" "SMTP client library"
 "Configuring SMTP:"
 { $subsection smtp-server }
 { $subsection smtp-read-timeout }
index b8be31c55cd53923a789a458fd3117ee1c0bd1e9..0a4974607dd6b7f4b99fc4ec90537cf170932b92 100755 (executable)
@@ -1258,6 +1258,8 @@ ARTICLE: "sequence-protocol" "Sequence protocol"
 "At least one of the following two generic words must have a method for accessing elements; the " { $link sequence } " mixin has default definitions which are mutually recursive:"
 { $subsection nth }
 { $subsection nth-unsafe }
+"Note that sequences are always indexed starting from zero."
+$nl
 "At least one of the following two generic words must have a method for storing elements; the " { $link sequence } " mixin has default definitions which are mutually recursive:"
 { $subsection set-nth }
 { $subsection set-nth-unsafe }
@@ -1283,8 +1285,7 @@ ARTICLE: "virtual-sequences-protocol" "Virtual sequence protocol"
 
 ARTICLE: "virtual-sequences" "Virtual sequences"
 "Virtual sequences allow different ways of accessing a sequence without having to create a new sequence or a new data structure altogether. To do this, they translate the virtual index into a normal index into an underlying sequence using the " { $link "virtual-sequences-protocol" } "."
-$nl
-"One current limitation of the virtual sequence protocol is that sequences must be indexed starting at zero." ;
+{ $subsection "virtual-sequences-protocol" } ;
 
 ARTICLE: "sequences-integers" "Integer sequences and counted loops"
 "Integers support the sequence protocol in a trivial fashion; a non-negative integer presents its non-negative predecessors as elements. For example, the integer 3, when viewed as a sequence, contains the elements 0, 1, and 2. This is very useful for performing counted loops."