<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.1.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Tidying up factor code</title>
	<link>http://www.phildawes.net/blog/2008/01/15/tidying-up-factor-code/</link>
	<description>Programming, data, web things, ai, stuff like that.</description>
	<pubDate>Wed, 20 Aug 2008 03:00:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.1</generator>

	<item>
		<title>By: Slava Pestov</title>
		<link>http://www.phildawes.net/blog/2008/01/15/tidying-up-factor-code/#comment-67978</link>
		<author>Slava Pestov</author>
		<pubDate>Wed, 16 Jan 2008 03:20:26 +0000</pubDate>
		<guid>http://www.phildawes.net/blog/2008/01/15/tidying-up-factor-code/#comment-67978</guid>
					<description>Hi Phil,

To get all words used by a word, recursively, use

[ word-def quot-uses ] closure

Also words list&#62;hashtable is just vocab-words

And list&#62;hashtable can be written as

: list&#62;hashtable [ "" ] H{ } map&#62;assoc ;

Assuming you want "" as the values, but usually we use equal keys/values when representing a set as a hashtable:

: list&#62;hashtable [ dup ] H{ } map&#62;assoc ;</description>
		<content:encoded><![CDATA[<p>Hi Phil,</p>
<p>To get all words used by a word, recursively, use</p>
<p>[ word-def quot-uses ] closure</p>
<p>Also words list&gt;hashtable is just vocab-words</p>
<p>And list&gt;hashtable can be written as</p>
<p>: list&gt;hashtable [ &#8220;&#8221; ] H{ } map&gt;assoc ;</p>
<p>Assuming you want &#8220;&#8221; as the values, but usually we use equal keys/values when representing a set as a hashtable:</p>
<p>: list&gt;hashtable [ dup ] H{ } map&gt;assoc ;</p>
]]></content:encoded>
				</item>
</channel>
</rss>
