]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/help/syntax/syntax.factor
sequences: bound -> index-or-length
[factor.git] / basis / help / syntax / syntax.factor
index ba658aa3fb692f75e246e7a66234312744d0527a..2cb4614c6ca5f49d4ba3ebc6f87703eaa3f43020 100644 (file)
@@ -91,7 +91,7 @@ DEFER: HELP{
 
 : trim-whitespace ( seq -- seq' )
     dup rest-slice dup whitespace
-    [ '[ _ bound tail ] map! ] unless-zero drop
+    [ '[ _ index-or-length tail ] map! ] unless-zero drop
     0 over [ [ blank? ] trim-head ] change-nth ;
 
 : code-lines ( str -- seq )