<?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: Static vs dynamic typing: do what thou wilt</title>
	<atom:link href="http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/feed/" rel="self" type="application/rss+xml" />
	<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/</link>
	<description>Haskell programming journal</description>
	<lastBuildDate>Fri, 17 May 2013 21:48:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: irene</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-3043</link>
		<dc:creator><![CDATA[irene]]></dc:creator>
		<pubDate>Sat, 29 Mar 2008 17:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-3043</guid>
		<description><![CDATA[sorry, what is this all about?]]></description>
		<content:encoded><![CDATA[<p>sorry, what is this all about?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pegasus</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-27</link>
		<dc:creator><![CDATA[pegasus]]></dc:creator>
		<pubDate>Mon, 25 Dec 2006 18:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-27</guid>
		<description><![CDATA[i never knew so many kinds of typing existed]]></description>
		<content:encoded><![CDATA[<p>i never knew so many kinds of typing existed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikeyoo</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-26</link>
		<dc:creator><![CDATA[mikeyoo]]></dc:creator>
		<pubDate>Mon, 25 Dec 2006 07:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-26</guid>
		<description><![CDATA[you should make pixel+1 vertex to remove all kernal sleeps]]></description>
		<content:encoded><![CDATA[<p>you should make pixel+1 vertex to remove all kernal sleeps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnavarro</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-23</link>
		<dc:creator><![CDATA[dnavarro]]></dc:creator>
		<pubDate>Sun, 24 Dec 2006 21:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-23</guid>
		<description><![CDATA[Ah, yes. I didn&#039;t test any code. 

I really should add a &quot;You get my point&quot; disclaimer.]]></description>
		<content:encoded><![CDATA[<p>Ah, yes. I didn&#8217;t test any code. </p>
<p>I really should add a &#8220;You get my point&#8221; disclaimer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-22</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Sun, 24 Dec 2006 21:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-22</guid>
		<description><![CDATA[This is a pretty minor nitpick, but I don&#039;t think this does what you want:
liftXY2 f p p’ = Pixel ((f. hor) p p’) ((f . ver) p p’)

If we have f :: Int -&gt; Int -&gt; Int, then I think (f . hor) :: Pixel -&gt; Int -&gt; Int.  Maybe this:
liftXY2 f p p&#039; = Pixel (f (hor p) (hor p&#039;)) (f (ver p) (ver p&#039;)))

~d]]></description>
		<content:encoded><![CDATA[<p>This is a pretty minor nitpick, but I don&#8217;t think this does what you want:<br />
liftXY2 f p p’ = Pixel ((f. hor) p p’) ((f . ver) p p’)</p>
<p>If we have f :: Int -&gt; Int -&gt; Int, then I think (f . hor) :: Pixel -&gt; Int -&gt; Int.  Maybe this:<br />
liftXY2 f p p&#8217; = Pixel (f (hor p) (hor p&#8217;)) (f (ver p) (ver p&#8217;)))</p>
<p>~d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-19</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 24 Dec 2006 19:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://syntaxfree.wordpress.com/2006/12/24/static-vs-dynamic-typing-do-what-thou-wilt/#comment-19</guid>
		<description><![CDATA[You don&#039;t want to override (+) completely, but in this case it would be perfectly reasonable to make YP an instance of the Num typeclass like so:

data YPos = YP Int deriving Eq

// ...

instance Num YPos where
  (+) (YP x) (YP y) = YP (x+y)
  fromInteger z = YP (fromInteger z)

up (Pixel x y) = Pixel x (y+1)]]></description>
		<content:encoded><![CDATA[<p>You don&#8217;t want to override (+) completely, but in this case it would be perfectly reasonable to make YP an instance of the Num typeclass like so:</p>
<p>data YPos = YP Int deriving Eq</p>
<p>// &#8230;</p>
<p>instance Num YPos where<br />
  (+) (YP x) (YP y) = YP (x+y)<br />
  fromInteger z = YP (fromInteger z)</p>
<p>up (Pixel x y) = Pixel x (y+1)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
