<?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: Any Haskell puzzlers?</title>
	<atom:link href="http://therning.org/magnus/archives/835/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus/archives/835</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Wed, 08 Aug 2012 00:21:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Ketil</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201765</link>
		<dc:creator>Ketil</dc:creator>
		<pubDate>Mon, 09 Aug 2010 09:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201765</guid>
		<description><![CDATA[&lt;p&gt;Intrigued by the puzzles, I had to look briefly at the video.  It is interesting that the conclusion after the first puzzle http://www.youtube.com/watch?v=V1vQf4qyMXg, @09:34 is that &quot;Strange and terrible methods lurk in libraries&quot;.  Huge libraries are a main selling point of Java, especially vs. Haskell, but sometimes there&#039;s something to be said for the DYI approach also - something that &quot;clearly works, as opposed to merely works&quot;.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Intrigued by the puzzles, I had to look briefly at the video.  It is interesting that the conclusion after the first puzzle <a href="http://www.youtube.com/watch?v=V1vQf4qyMXg" rel="nofollow">http://www.youtube.com/watch?v=V1vQf4qyMXg</a>, @09:34 is that &#8220;Strange and terrible methods lurk in libraries&#8221;.  Huge libraries are a main selling point of Java, especially vs. Haskell, but sometimes there&#8217;s something to be said for the DYI approach also &#8211; something that &#8220;clearly works, as opposed to merely works&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axio</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201670</link>
		<dc:creator>Axio</dc:creator>
		<pubDate>Thu, 05 Aug 2010 05:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201670</guid>
		<description><![CDATA[&lt;pre lang=&quot;haskell&quot;&gt;f (n+1) = n
main = do
  putStrLn . show $ f 1
  putStrLn . show $ f 0&lt;/pre&gt;
]]></description>
		<content:encoded><![CDATA[


<div class="wp_syntax"><table><tr><td class="code"><pre class="haskell" style="font-family:monospace;">f <span style="color: green;">&#40;</span>n<span style="color: #339933; font-weight: bold;">+</span><span style="color: red;">1</span><span style="color: green;">&#41;</span> <span style="color: #339933; font-weight: bold;">=</span> n
main <span style="color: #339933; font-weight: bold;">=</span> <span style="color: #06c; font-weight: bold;">do</span>
  <span style="font-weight: bold;">putStrLn</span> <span style="color: #339933; font-weight: bold;">.</span> <span style="font-weight: bold;">show</span> <span style="color: #339933; font-weight: bold;">$</span> f <span style="color: red;">1</span>
  <span style="font-weight: bold;">putStrLn</span> <span style="color: #339933; font-weight: bold;">.</span> <span style="font-weight: bold;">show</span> <span style="color: #339933; font-weight: bold;">$</span> f <span style="color: red;">0</span></pre></td></tr></table></div>



]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201598</link>
		<dc:creator>Magnus</dc:creator>
		<pubDate>Tue, 03 Aug 2010 07:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201598</guid>
		<description><![CDATA[&lt;p&gt;@solrize, hardly the kind of code you&#039;re likely to find in any real software project out there though, is it? :-)&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>@solrize, hardly the kind of code you&#8217;re likely to find in any real software project out there though, is it? <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: solrize</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201590</link>
		<dc:creator>solrize</dc:creator>
		<pubDate>Tue, 03 Aug 2010 03:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201590</guid>
		<description><![CDATA[&lt;p&gt;let 1 = 2 in print 1&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>let 1 = 2 in print 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201569</link>
		<dc:creator>Magnus</dc:creator>
		<pubDate>Mon, 02 Aug 2010 10:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201569</guid>
		<description><![CDATA[&lt;p&gt;Dan, a nice little example of the power of irrefutable (lazy) patterns.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Dan, a nice little example of the power of irrefutable (lazy) patterns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Doel</title>
		<link>http://therning.org/magnus/archives/835/comment-page-1#comment-201568</link>
		<dc:creator>Dan Doel</dc:creator>
		<pubDate>Mon, 02 Aug 2010 09:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=835#comment-201568</guid>
		<description><![CDATA[&lt;p&gt;What are the values of the following expressions?&lt;/p&gt;

&lt;pre lang=&quot;haskell&quot;&gt;let ( (w, x), (y, z)) = ((1, 2),    (3, 4)) in y&lt;/pre&gt;

&lt;pre lang=&quot;haskell&quot;&gt;let ( (w, x), (y, z)) = (undefined, (3, 4)) in y&lt;/pre&gt;

&lt;pre lang=&quot;haskell&quot;&gt;let (~(w, x), (y, z)) = (undefined, (3, 4)) in y&lt;/pre&gt;
]]></description>
		<content:encoded><![CDATA[<p>What are the values of the following expressions?</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="haskell" style="font-family:monospace;"><span style="color: #06c; font-weight: bold;">let</span> <span style="color: green;">&#40;</span> <span style="color: green;">&#40;</span>w<span style="color: #339933; font-weight: bold;">,</span> x<span style="color: green;">&#41;</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: green;">&#40;</span>y<span style="color: #339933; font-weight: bold;">,</span> z<span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #339933; font-weight: bold;">=</span> <span style="color: green;">&#40;</span><span style="color: green;">&#40;</span><span style="color: red;">1</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: red;">2</span><span style="color: green;">&#41;</span><span style="color: #339933; font-weight: bold;">,</span>    <span style="color: green;">&#40;</span><span style="color: red;">3</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: red;">4</span><span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #06c; font-weight: bold;">in</span> y</pre></td></tr></table></div>





<div class="wp_syntax"><table><tr><td class="code"><pre class="haskell" style="font-family:monospace;"><span style="color: #06c; font-weight: bold;">let</span> <span style="color: green;">&#40;</span> <span style="color: green;">&#40;</span>w<span style="color: #339933; font-weight: bold;">,</span> x<span style="color: green;">&#41;</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: green;">&#40;</span>y<span style="color: #339933; font-weight: bold;">,</span> z<span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #339933; font-weight: bold;">=</span> <span style="color: green;">&#40;</span><span style="font-weight: bold;">undefined</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: green;">&#40;</span><span style="color: red;">3</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: red;">4</span><span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #06c; font-weight: bold;">in</span> y</pre></td></tr></table></div>





<div class="wp_syntax"><table><tr><td class="code"><pre class="haskell" style="font-family:monospace;"><span style="color: #06c; font-weight: bold;">let</span> <span style="color: green;">&#40;</span><span style="color: #339933; font-weight: bold;">~</span><span style="color: green;">&#40;</span>w<span style="color: #339933; font-weight: bold;">,</span> x<span style="color: green;">&#41;</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: green;">&#40;</span>y<span style="color: #339933; font-weight: bold;">,</span> z<span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #339933; font-weight: bold;">=</span> <span style="color: green;">&#40;</span><span style="font-weight: bold;">undefined</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: green;">&#40;</span><span style="color: red;">3</span><span style="color: #339933; font-weight: bold;">,</span> <span style="color: red;">4</span><span style="color: green;">&#41;</span><span style="color: green;">&#41;</span> <span style="color: #06c; font-weight: bold;">in</span> y</pre></td></tr></table></div>



]]></content:encoded>
	</item>
</channel>
</rss>
