]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/math/text/french/french.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / extra / math / text / french / french.factor
index 46e326b7e77184929e3d7cc1bab8146e9b9fb2a4..8d313b91970f4fcc3dfe4eba2fa4417e7bf8879f 100644 (file)
@@ -73,7 +73,7 @@ MEMO: units ( -- seq ) ! up to 10^99
     } cond ;
 
 : over-1000000 ( n -- str )
-    3 digit-groups [ 1+ units nth n-units ] map-index sift
+    3 digit-groups [ 1 + units nth n-units ] map-index sift
     reverse " " join ;
 
 : decompose ( n -- str ) 1000000 /mod [ over-1000000 ] dip complete ;