<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: split-unique code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 20:17:27 GMT</pubDate>
    <description>DZone Snippets: split-unique code</description>
    <item>
      <title>SPLIT-UNIQUE - split a block into unique and duplicate values</title>
      <link>http://snippets.dzone.com/posts/show/2948</link>
      <description>&lt;code&gt;&lt;br /&gt;    split-unique: func [block [any-block!] /local uniq dupe dest] [&lt;br /&gt;        uniq: copy []&lt;br /&gt;        dupe: copy []&lt;br /&gt;        foreach item block [&lt;br /&gt;            dest: either find/only uniq item [dupe] [uniq]&lt;br /&gt;            append/only dest item&lt;br /&gt;        ]&lt;br /&gt;        reduce [uniq dupe]&lt;br /&gt;    ]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 01 Nov 2006 21:35:34 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2948</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
  </channel>
</rss>
