]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix documentation typo for search-index word
authorAaron Schaefer <aaron@elasticdog.com>
Sun, 5 Apr 2009 04:07:48 +0000 (00:07 -0400)
committerAaron Schaefer <aaron@elasticdog.com>
Sun, 5 Apr 2009 04:07:48 +0000 (00:07 -0400)
basis/binary-search/binary-search-docs.factor

index cf7915159abb5a4dc1cba1c2a3b3d80a7ef47a83..20b33a0bcbf3e5dbf492fb743e20331f5234e423 100644 (file)
@@ -14,7 +14,7 @@ $nl
 
 HELP: sorted-index
 { $values { "obj" object } { "seq" "a sorted sequence" } { "i" "an index, or " { $link f } } }
-{ $description "Outputs the index and value of the element closest to " { $snippet "elt" } " in the sequence. See " { $link search } " for details." }
+{ $description "Outputs the index of the element closest to " { $snippet "elt" } " in the sequence. See " { $link search } " for details." }
 { $notes "If the sequence has at least one element, this word always outputs a valid index, because it finds the closest match, not necessarily an exact one. In this respect its behavior differs from " { $link index } "." } ;
 
 { index index-from last-index last-index-from sorted-index } related-words