]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/random/passwords/passwords.factor
factor: use new math.ranges syntax in tests and docs
[factor.git] / basis / random / passwords / passwords.factor
index 44cd127efdc0340e80e002a0847e9e8b85afc954..61cc31c1881c0cbf9006cc71eaa8386236419e3f 100644 (file)
@@ -5,12 +5,12 @@ IN: random.passwords
 
 <PRIVATE
 
-CONSTANT: ascii-printable-charset $[ 33 126 [a,b] ]
+CONSTANT: ascii-printable-charset $[ 33 126 [a..b] ]
 CONSTANT: hex-charset "0123456789ABCDEF"
 CONSTANT: alphanum-charset $[
-    CHAR: 0 CHAR: 9 [a,b]
-    CHAR: a CHAR: z [a,b] append
-    CHAR: A CHAR: Z [a,b] append ]
+    CHAR: 0 CHAR: 9 [a..b]
+    CHAR: a CHAR: z [a..b] append
+    CHAR: A CHAR: Z [a..b] append ]
 
 PRIVATE>