]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/syndication/syndication.factor
Cleanup some lint warnings.
[factor.git] / basis / syndication / syndication.factor
index 88fae781ea2303e521e9fe6f0f8d84313bf9056e..0cc124c088dbb0e2dc812b531e019f7a063b23c6 100644 (file)
@@ -88,8 +88,7 @@ TUPLE: entry title url description date ;
     } cleave ;
 
 : atom1.0 ( xml -- feed )
-    feed new
-    swap
+    <feed> swap
     [ "title" tag-named children>string >>title ]
     [ "link" tag-named "href" attr >url >>url ]
     [ "entry" tags-named [ atom1.0-entry ] map set-entries ]