]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/pipes/pipes.factor
factor: more top level forms.
[factor.git] / basis / io / pipes / pipes.factor
index 9df6c52a5f70931ccf7a8d9a16de7d7395dfe393..9bad0ebdaabea74d30367b8068b3bed70844d8e4 100644 (file)
@@ -3,7 +3,7 @@
 USING: accessors combinators concurrency.combinators destructors
 fry grouping io io.backend io.ports io.streams.duplex kernel
 math namespaces quotations sequences simple-tokenizer splitting
-strings system vocabs ;
+strings system vocabs vocabs.platforms ;
 IN: io.pipes
 
 TUPLE: pipe in out ;
@@ -64,8 +64,5 @@ PRIVATE>
         run-pipeline-element
     ] 2parallel-map ;
 
-{
-    { [ os unix? ] [ "io.pipes.unix" require ] }
-    { [ os windows? ] [ "io.pipes.windows" require ] }
-    [ ]
-} cond
+USE-UNIX: io.pipes.unix
+USE-WINDOWS: io.pipes.windows