]> gitweb.factorcode.org Git - factor.git/commitdiff
io.random: rename to "random-readln".
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 22:25:08 +0000 (15:25 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 22:25:08 +0000 (15:25 -0700)
extra/io/random/random.factor

index 5b8d022e958ea3b231a35a3a26ae6afcf5fe03e5..3186e263e4f7ac98791dcd7e01e8c150614fa57b 100644 (file)
@@ -12,5 +12,5 @@ IN: io.random
 
 PRIVATE>
 
-: random-line ( -- line/f )
+: random-readln ( -- line/f )
     f 1 [ swap [ ?replace ] [ 1 + ] bi ] each-line drop ;