<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: AVL Tree Implementation in Clojure</title>
	<atom:link href="http://nflath.com/2009/07/avl-tree-implementation-in-clojure/feed/" rel="self" type="application/rss+xml" />
	<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/</link>
	<description>Technology-related ideas, mainly involving Emacs</description>
	<pubDate>Sat, 19 May 2012 06:50:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: G Miller</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-953</link>
		<dc:creator>G Miller</dc:creator>
		<pubDate>Thu, 12 Aug 2010 17:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-953</guid>
		<description>Do you have a working copy of the entire codebase?  I did a copy-paste jobber on each expression, but when I run it I get:

Clojure 1.2.0-RC2
1:1 user=&gt; (avltree/test-all)
java.lang.AssertionError: Assert failed: (&lt; (balance-factor tree) 2) (repl-1:1)</description>
		<content:encoded><![CDATA[<p>Do you have a working copy of the entire codebase?  I did a copy-paste jobber on each expression, but when I run it I get:</p>
<p>Clojure 1.2.0-RC2<br />
1:1 user=&gt; (avltree/test-all)<br />
java.lang.AssertionError: Assert failed: (&lt; (balance-factor tree) 2) (repl-1:1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Lübcke</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-354</link>
		<dc:creator>Martin Lübcke</dc:creator>
		<pubDate>Wed, 30 Sep 2009 16:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-354</guid>
		<description>Haha, I see the problem now. My comments are sanitized, leaving them totally insane. I mean: “…you have missed passing the incoming &lt; and &gt; into the…” and the code should be:
(&lt; (tree :data) val) (tree-lookup (tree :right) val &lt; &gt;)
I hope all less-than and greater-than are displayed now...</description>
		<content:encoded><![CDATA[<p>Haha, I see the problem now. My comments are sanitized, leaving them totally insane. I mean: “…you have missed passing the incoming &lt; and &gt; into the…” and the code should be:<br />
(&lt; (tree :data) val) (tree-lookup (tree :right) val &lt; &gt;)<br />
I hope all less-than and greater-than are displayed now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nflath</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-353</link>
		<dc:creator>nflath</dc:creator>
		<pubDate>Wed, 30 Sep 2009 15:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-353</guid>
		<description>You are right, I'm fixing this now.</description>
		<content:encoded><![CDATA[<p>You are right, I&#8217;m fixing this now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Lübcke</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-352</link>
		<dc:creator>Martin Lübcke</dc:creator>
		<pubDate>Wed, 30 Sep 2009 15:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-352</guid>
		<description>I meant "...you have missed passing the incoming  into the..." so my question was not readable. Sorry.
What I mean is that the custom  will be used at the first comparison, but they will not be passed down in the recursion. I believe it should be:
(&lt; (tree :data) val) (tree-lookup (tree :right) val )
and the same for &gt;.</description>
		<content:encoded><![CDATA[<p>I meant &#8220;&#8230;you have missed passing the incoming  into the&#8230;&#8221; so my question was not readable. Sorry.<br />
What I mean is that the custom  will be used at the first comparison, but they will not be passed down in the recursion. I believe it should be:<br />
(&lt; (tree :data) val) (tree-lookup (tree :right) val )<br />
and the same for &gt;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nflath</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-336</link>
		<dc:creator>nflath</dc:creator>
		<pubDate>Tue, 29 Sep 2009 01:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-336</guid>
		<description>Martin:  I don't understand the question - tree-lookup is correct, though.</description>
		<content:encoded><![CDATA[<p>Martin:  I don&#8217;t understand the question - tree-lookup is correct, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Lübcke</title>
		<link>http://nflath.com/2009/07/avl-tree-implementation-in-clojure/comment-page-1/#comment-334</link>
		<dc:creator>Martin Lübcke</dc:creator>
		<pubDate>Mon, 28 Sep 2009 20:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=185#comment-334</guid>
		<description>This was really the example I was looking for. I'm new to functional programming and this was very explanatory. Nice to see something understandable beyond the Fibonacci sequence. Thank you for explaining it.
I have one question: If I get it correctly you have missed passing the incoming  in the recursive call of tree-lookup. Did I miss something?</description>
		<content:encoded><![CDATA[<p>This was really the example I was looking for. I&#8217;m new to functional programming and this was very explanatory. Nice to see something understandable beyond the Fibonacci sequence. Thank you for explaining it.<br />
I have one question: If I get it correctly you have missed passing the incoming  in the recursive call of tree-lookup. Did I miss something?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

