]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.data: use <vector> instead of V{ } new-sequence.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 24 Jan 2017 22:48:09 +0000 (14:48 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 24 Jan 2017 22:48:09 +0000 (14:48 -0800)
basis/xml/data/data.factor

index ef20d8045f003b96ee1ea0d865daa8a29658afdd..5db7b801328517edc12ee392d686da25daf2cd6f 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2005, 2009 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences sequences.private assocs arrays
-delegate.protocols delegate vectors accessors multiline
-macros words quotations combinators slots fry strings
-combinators.short-circuit ;
+USING: accessors arrays assocs combinators
+combinators.short-circuit delegate delegate.protocols fry kernel
+macros sequences slots strings vectors words ;
 IN: xml.data
 
 TUPLE: interpolated var ;
@@ -52,7 +51,7 @@ M: attrs set-at
     ] if* ;
 
 M: attrs assoc-size alist>> length ;
-M: attrs new-assoc drop V{ } new-sequence <attrs> ;
+M: attrs new-assoc drop <vector> <attrs> ;
 M: attrs >alist alist>> ;
 
 : >attrs ( assoc -- attrs )