]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unicode/unicode.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / basis / unicode / unicode.factor
index 5e5a8cea36e58fd970105d9ffd8285a326ba0084..ba478a841cc006409fd3b75fef63ee65910f7ec6 100644 (file)
@@ -100,7 +100,7 @@ PRIVATE>
     over tail-slice first-word + ;
 
 : last-word ( str -- i )
-    [ length iota ] keep '[ _ word-break-at? ] find-last drop 0 or ;
+    [ length <iota> ] keep '[ _ word-break-at? ] find-last drop 0 or ;
 
 : last-word-from ( end str -- i )
     swap head-slice last-word ;