]> gitweb.factorcode.org Git - factor.git/commitdiff
random.unix: roll back type assertions
authorJoe Groff <arcata@gmail.com>
Thu, 17 Nov 2011 01:29:46 +0000 (17:29 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 17 Nov 2011 01:29:46 +0000 (17:29 -0800)
Probably don't really make much difference and are invalid in apps that deploy with io level 2 or lower.

basis/random/unix/unix.factor

index d52458372e4696f13f85430ca60822c19b09ff2a..ffddde9f5b465902e7e481f4dcf93b94144e0630 100644 (file)
@@ -2,10 +2,10 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien.c-types io io.files kernel namespaces random
 io.encodings.binary init accessors system destructors
-io.ports hints math ;
+hints math ;
 IN: random.unix
 
-TUPLE: unix-random { reader input-port } ;
+TUPLE: unix-random reader ;
 
 : <unix-random> ( path -- random )
     binary <file-reader> unix-random boa ;