<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: frumiOS &#8211; a simple object-system for Clojure</title>
	<atom:link href="http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/feed/" rel="self" type="application/rss+xml" />
	<link>http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/</link>
	<description>Amit Rathore blogs about software development</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:58:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jaskirat</title>
		<link>http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/#comment-1082</link>
		<dc:creator><![CDATA[Jaskirat]]></dc:creator>
		<pubDate>Wed, 23 Feb 2011 07:43:46 +0000</pubDate>
		<guid isPermaLink="false">http://sexp.wordpress.com/?p=254#comment-1082</guid>
		<description><![CDATA[um i tried to use an img tag i guess it got chomped :D What I was trying to say was that the namespace has expanded to look like a smiley because of &quot;: o&quot;]]></description>
		<content:encoded><![CDATA[<p>um i tried to use an img tag i guess it got chomped <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  What I was trying to say was that the namespace has expanded to look like a smiley because of &#8220;: o&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaskirat</title>
		<link>http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/#comment-1081</link>
		<dc:creator><![CDATA[Jaskirat]]></dc:creator>
		<pubDate>Wed, 23 Feb 2011 07:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://sexp.wordpress.com/?p=254#comment-1081</guid>
		<description><![CDATA[In the source code shown above for frumios, the OBJECT def seems to have expanded the &quot;:org...&quot; to the &quot;rg...&quot; . You might want to escape that.]]></description>
		<content:encoded><![CDATA[<p>In the source code shown above for frumios, the OBJECT def seems to have expanded the &#8220;:org&#8230;&#8221; to the &#8220;rg&#8230;&#8221; . You might want to escape that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Rathore</title>
		<link>http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/#comment-324</link>
		<dc:creator><![CDATA[Amit Rathore]]></dc:creator>
		<pubDate>Tue, 29 Dec 2009 22:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://sexp.wordpress.com/?p=254#comment-324</guid>
		<description><![CDATA[Meikel,

Sweet! I didn&#039;t know about condp - it reads so much nicer! Works very well for such let-over-lambda forms... thank you!

Regards,
Amit.]]></description>
		<content:encoded><![CDATA[<p>Meikel,</p>
<p>Sweet! I didn&#8217;t know about condp &#8211; it reads so much nicer! Works very well for such let-over-lambda forms&#8230; thank you!</p>
<p>Regards,<br />
Amit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meikel</title>
		<link>http://s-expressions.com/2009/12/10/frumios-a-silly-object-system-for-clojure/#comment-323</link>
		<dc:creator><![CDATA[Meikel]]></dc:creator>
		<pubDate>Tue, 29 Dec 2009 22:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://sexp.wordpress.com/?p=254#comment-323</guid>
		<description><![CDATA[You know about condp?

&lt;pre&gt;&lt;code&gt;(defn new-class
  [class-name parent methods]
  (let [klass ((comp resolve symbol name) class-name)]
    (fn [command &amp; args]
      (condp = command
        :parent       parent
        :name         klass
        :method-names (keys methods)
        :methods      methods
        :new          (new-object klass)
        :method       (let [[method-name] args]
                        (find-method method-name methods parent))
        (throw (RuntimeException. (str &quot;Unknown message: &quot; command)))))))
&lt;/code&gt;&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>You know about condp?</p>
<pre><code>(defn new-class
  [class-name parent methods]
  (let [klass ((comp resolve symbol name) class-name)]
    (fn [command &amp; args]
      (condp = command
        :parent       parent
        :name         klass
        :method-names (keys methods)
        :methods      methods
        :new          (new-object klass)
        :method       (let [[method-name] args]
                        (find-method method-name methods parent))
        (throw (RuntimeException. (str "Unknown message: " command)))))))
</code></pre>
]]></content:encoded>
	</item>
</channel>
</rss>

