]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/suffix-arrays/suffix-arrays.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / basis / suffix-arrays / suffix-arrays.factor
index 92c3fa2921c91d918ede47e5c4895d2e059177a5..a5200f77d3128110eb472d67868b2afe7cf01ffa 100644 (file)
@@ -7,7 +7,7 @@ IN: suffix-arrays
 <PRIVATE
 
 : suffixes ( string -- suffixes-seq )
-    dup length iota [ tail-slice ] with map ;
+    dup length <iota> [ tail-slice ] with map ;
 
 : prefix<=> ( begin seq -- <=> )
     [ <=> ] [ swap head? ] 2bi [ drop +eq+ ] when ;