<?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: let 5 = 6</title>
	<atom:link href="http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 13 May 2013 18:02:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Georg</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-312</link>
		<dc:creator>Georg</dc:creator>
		<pubDate>Sun, 04 Oct 2009 13:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-312</guid>
		<description>Now, if I do

  let Just a = Nothing

why does GHCI tell me that &quot;a&quot; is of type GHC.Prim.Any?</description>
		<content:encoded><![CDATA[<p>Now, if I do</p>
<p>  let Just a = Nothing</p>
<p>why does GHCI tell me that &#8220;a&#8221; is of type GHC.Prim.Any?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JadeNB</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-311</link>
		<dc:creator>JadeNB</dc:creator>
		<pubDate>Sat, 03 Oct 2009 03:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-311</guid>
		<description>@Matt R:  Because Haskell is lazy!  See &lt;a href=&quot;http://www.reddit.com/r/programming/comments/9q6a8/let_5_6_is_valid_haskell_but_its_not_as_bad_as_it/c0dxfvw&quot; rel=&quot;nofollow&quot;&gt;this Reddit comment&lt;/a&gt; for a nice discussion.

For me, this became much clearer when translated into lambda-notation (as I said on &lt;a href=&quot;http://www.reddit.com/r/programming/comments/9q6a8/let_5_6_is_valid_haskell_but_its_not_as_bad_as_it/c0dxvde&quot; rel=&quot;nofollow&quot;&gt;this other Reddit comment&lt;/a&gt;):  It&#039;s much clearer to me what&#039;s happening when I change &lt;code&gt;let 5 = 6 in f 5&lt;/code&gt; to &lt;code&gt;(5 -&gt; f 5) 6&lt;/code&gt;&#8212;there&#039;s a non-exhaustive pattern match crying out for attention!  (Have I translated it incorrectly?)</description>
		<content:encoded><![CDATA[<p>@Matt R:  Because Haskell is lazy!  See <a href="http://www.reddit.com/r/programming/comments/9q6a8/let_5_6_is_valid_haskell_but_its_not_as_bad_as_it/c0dxfvw" rel="nofollow">this Reddit comment</a> for a nice discussion.</p>
<p>For me, this became much clearer when translated into lambda-notation (as I said on <a href="http://www.reddit.com/r/programming/comments/9q6a8/let_5_6_is_valid_haskell_but_its_not_as_bad_as_it/c0dxvde" rel="nofollow">this other Reddit comment</a>):  It&#8217;s much clearer to me what&#8217;s happening when I change <code>let 5 = 6 in f 5</code> to <code>(5 -&gt; f 5) 6</code>&mdash;there&#8217;s a non-exhaustive pattern match crying out for attention!  (Have I translated it incorrectly?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt R</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-310</link>
		<dc:creator>Matt R</dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-310</guid>
		<description>How come &quot;let 5 = 6&quot; doesn&#039;t throw a &quot;Irrefutable pattern&quot; exception?</description>
		<content:encoded><![CDATA[<p>How come &#8220;let 5 = 6&#8243; doesn&#8217;t throw a &#8220;Irrefutable pattern&#8221; exception?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-309</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-309</guid>
		<description>@lilac There&#039;s also more to be said about !&#039;s dual, the ~.</description>
		<content:encoded><![CDATA[<p>@lilac There&#8217;s also more to be said about !&#8217;s dual, the ~.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-308</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-308</guid>
		<description>@gracjan Thanks! I&#039;m glad you like it. :-) And no, I don&#039;t mind at all. Thanks for linking back.</description>
		<content:encoded><![CDATA[<p>@gracjan Thanks! I&#8217;m glad you like it. <img src='http://martijn.van.steenbergen.nl/journal/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  And no, I don&#8217;t mind at all. Thanks for linking back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-307</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-307</guid>
		<description>@lilac Thanks! Those are pretty neat.</description>
		<content:encoded><![CDATA[<p>@lilac Thanks! Those are pretty neat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gracjan</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-306</link>
		<dc:creator>gracjan</dc:creator>
		<pubDate>Fri, 02 Oct 2009 12:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-306</guid>
		<description>I find your post to be the best introduction to pattern matching ever! Just translated to Polish word for word on my blog here: http://gracjanpolak.wordpress.com/2009/10/02/let-5-6/. I hope you don&#039;t mind (link back is inside).</description>
		<content:encoded><![CDATA[<p>I find your post to be the best introduction to pattern matching ever! Just translated to Polish word for word on my blog here: <a href="http://gracjanpolak.wordpress.com/2009/10/02/let-5-6/" rel="nofollow">http://gracjanpolak.wordpress.com/2009/10/02/let-5-6/</a>. I hope you don&#8217;t mind (link back is inside).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: let 5 = 6 &#171; Haskell. Po polsku.</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-305</link>
		<dc:creator>let 5 = 6 &#171; Haskell. Po polsku.</dc:creator>
		<pubDate>Fri, 02 Oct 2009 12:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-305</guid>
		<description>[...] let 5 =&#160;6 By gracjanpolak  Tłumaczone z let 5 = 6 by Martijn van Steenbergen: [...] </description>
		<content:encoded><![CDATA[<p>[...] let 5 =&nbsp;6 By gracjanpolak  Tłumaczone z let 5 = 6 by Martijn van Steenbergen: [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linktipps #14 :: Blackflash</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-304</link>
		<dc:creator>Linktipps #14 :: Blackflash</dc:creator>
		<pubDate>Fri, 02 Oct 2009 11:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-304</guid>
		<description>[...]  [...] </description>
		<content:encoded><![CDATA[<p>[...]  [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lilac</title>
		<link>http://martijn.van.steenbergen.nl/journal/2009/10/02/let-5-6/#comment-303</link>
		<dc:creator>lilac</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://martijn.van.steenbergen.nl/journal/?p=405#comment-303</guid>
		<description>Two more cases to consider (with subtly different semantics):

let !5 = 6
5 &lt;- return 6</description>
		<content:encoded><![CDATA[<p>Two more cases to consider (with subtly different semantics):</p>
<p>let !5 = 6<br />
5 &lt;- return 6</p>
]]></content:encoded>
	</item>
</channel>
</rss>
