]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/suffix-arrays/suffix-arrays-docs.factor
factor: fix some spacing
[factor.git] / basis / suffix-arrays / suffix-arrays-docs.factor
index 455756bd7dfda427678752157c31c89503f044ae..dee423128cdc55b355760580b16370192b63fdf6 100644 (file)
@@ -6,8 +6,8 @@ IN: suffix-arrays
 
 HELP: >suffix-array
 { $values
-     { "seq" sequence }
-     { "suffix-array" array } }
+    { "seq" sequence }
+    { "suffix-array" array } }
 { $description "Creates a suffix array from the input sequence. Suffix arrays are arrays of slices." } ;
 
 HELP: SA{
@@ -15,14 +15,14 @@ HELP: SA{
 
 HELP: suffixes
 { $values
-     { "string" string }
-     { "suffixes-seq" "a sequence of slices" } }
+    { "string" string }
+    { "suffixes-seq" "a sequence of slices" } }
 { $description "Returns a sequence of tail slices of the input string." } ;
 
 HELP: query
 { $values
-     { "begin" sequence } { "suffix-array" "a suffix-array" }
-     { "matches" array } }
+    { "begin" sequence } { "suffix-array" "a suffix-array" }
+    { "matches" array } }
 { $description "Returns a sequence of sequences from the suffix-array that contain the input sequence. An empty array is returned when there are no matches." } ;
 
 ARTICLE: "suffix-arrays" "Suffix arrays"