<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Evolution::Rails -&gt; Ruby -&gt; Haskell</title>
	<atom:link href="http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/</link>
	<description>Ruminations on Ruby, Rails, and Software Development</description>
	<lastBuildDate>Tue, 02 Jan 2007 13:49:10 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Keith Lancaster</title>
		<link>http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/#comment-2</link>
		<dc:creator>Keith Lancaster</dc:creator>
		<pubDate>Tue, 02 Jan 2007 13:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/#comment-2</guid>
		<description>True, and thanks for pointing that out. I&#039;ve moved the blog to http://rubynations.blogspot.com, and updated the article just a bit. I hope that it makes things a bit clearer.</description>
		<content:encoded><![CDATA[<p>True, and thanks for pointing that out. I&#8217;ve moved the blog to <a href="http://rubynations.blogspot.com" rel="nofollow">http://rubynations.blogspot.com</a>, and updated the article just a bit. I hope that it makes things a bit clearer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David House</title>
		<link>http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/#comment-1</link>
		<dc:creator>David House</dc:creator>
		<pubDate>Tue, 02 Jan 2007 10:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://rubynations.wordpress.com/2006/12/28/evolutionrails-ruby-haskell/#comment-1</guid>
		<description>Just to point out that Haskell doesn&#039;t actually disaprove of your local variables, in case anyone got that impression. In fact, the let-construct is designed to introduce exactly that. To give a contrived example, here&#039;s a function in C++ and its translation to Haskell:

&lt;code&gt;int foo(int i) {
  int j, k;
  j = i * 5;
  k = pow(j,2);
  return k + 1;
}

foo :: Int -&gt; Int
foo i = 
  let j = i * 5
      k = j ^ 2
  in k + 1
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just to point out that Haskell doesn&#8217;t actually disaprove of your local variables, in case anyone got that impression. In fact, the let-construct is designed to introduce exactly that. To give a contrived example, here&#8217;s a function in C++ and its translation to Haskell:</p>
<p><code>int foo(int i) {<br />
  int j, k;<br />
  j = i * 5;<br />
  k = pow(j,2);<br />
  return k + 1;<br />
}</p>
<p>foo :: Int -&gt; Int<br />
foo i =<br />
  let j = i * 5<br />
      k = j ^ 2<br />
  in k + 1<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
