]> gitweb.factorcode.org Git - factor.git/commitdiff
fix help-lint
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 1 Oct 2008 21:04:32 +0000 (16:04 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 1 Oct 2008 21:04:32 +0000 (16:04 -0500)
extra/suffix-arrays/suffix-arrays-docs.factor

index 55a78b2cb6776f157ae923b6ffa1b58a3e359d97..87df27281ecc09932d5512a5f1ed104151499fae 100755 (executable)
@@ -21,8 +21,9 @@ HELP: suffixes
 
 HELP: from-to
 { $values
-     { "index" integer } { "suffix-array" "a suffix-array" } { "begin" sequence }
-     { "from" integer } { "to" integer } }
+     { "index" integer } { "begin" sequence } { "suffix-array" "a suffix-array" }
+     { "from/f" "an integer or f" } { "to/f" "an integer or f" } }
+{ $description "Finds the bounds of the suffix array that match the input sequence. A return value of " { $link f } " means that the endpoint is included." }
 { $notes "Slices are [m,n) and we want (m,n) so we increment." } ;
 
 HELP: query