]> gitweb.factorcode.org Git - factor.git/commitdiff
simple-flat-file: revert for now, caused bootstrap problems.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jul 2012 16:45:43 +0000 (09:45 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jul 2012 16:45:43 +0000 (09:45 -0700)
basis/simple-flat-file/simple-flat-file.factor

index dfc3664a5284ebe8038952485a5c9411e30e8385..a2fa8c3c4c11e05d518a1863225e224a1d5aeb68 100644 (file)
@@ -5,7 +5,7 @@ biassocs ascii namespaces arrays make assocs interval-maps sets ;
 IN: simple-flat-file
 
 : drop-comments ( seq -- newseq )
-    [ "#@" split1 drop ] map harvest ;
+    [ "#@" split first ] map harvest ;
 
 : split-column ( line -- columns )
     " \t" split harvest 2 short head 2 f pad-tail ;