]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/formatting/formatting.factor
sequences: rename count to count-by
[factor.git] / basis / formatting / formatting.factor
index 7c7498f0af249df49499eaecdeec35cf227cb056..d02c39f197366d3546beef42c992ec6f26be630a 100644 (file)
@@ -149,7 +149,7 @@ text      = (formats|plain-text)*
 ]=]
 
 : printf-quot ( format-string -- format-quot n )
-    parse-printf [ [ callable? ] count ] keep [
+    parse-printf [ [ callable? ] count-by ] keep [
         dup string? [ 1quotation ] [ [ 1 - ] dip ] if
         over [ ndip ] 2curry
     ] map nip [ compose-all ] [ length ] bi ; inline