]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/xmode/utilities/utilities.factor
factor: trim using lists
[factor.git] / basis / xmode / utilities / utilities.factor
index a7e42877aa2db5ed769d8e63a9343678755e90ff..9ded828f92a49f8984434c5195489a7d8eab0ce9 100644 (file)
@@ -1,6 +1,5 @@
-USING: accessors sequences assocs kernel quotations namespaces
-xml.data xml.traversal combinators macros parser lexer words fry
-regexp ;
+USING: combinators kernel namespaces quotations regexp sequences
+xml.data xml.traversal ;
 IN: xmode.utilities
 
 : implies ( x y -- z ) [ not ] dip or ; inline
@@ -25,7 +24,7 @@ IN: xmode.utilities
 : with-tag-initializer ( tag obj quot -- )
     [ object set tag set ] prepose with-scope ; inline
 
-MACRO: (init-from-tag) ( specs -- )
+MACRO: (init-from-tag) ( specs -- quot )
     [ tag-init-form ] map concat [ ] like
     [ with-tag-initializer ] curry ;