<?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: A C# 3.5 pattern &#8211; the Accept Block pattern</title>
	<atom:link href="http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/</link>
	<description>Paul Betts's personal website / blog / what-have-you</description>
	<lastBuildDate>Wed, 26 May 2010 09:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Darius Damalakas</title>
		<link>http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/comment-page-1/#comment-18837</link>
		<dc:creator>Darius Damalakas</dc:creator>
		<pubDate>Wed, 13 Jan 2010 07:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/?p=390#comment-18837</guid>
		<description>Nice post, and I find very interesting to read examples how is it done in other languages</description>
		<content:encoded><![CDATA[<p>Nice post, and I find very interesting to read examples how is it done in other languages</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Betts</title>
		<link>http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/comment-page-1/#comment-18797</link>
		<dc:creator>Paul Betts</dc:creator>
		<pubDate>Mon, 11 Jan 2010 15:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/?p=390#comment-18797</guid>
		<description>@Jimmy Interesting, though that makes sense.

@Colin Oops, this is what happens when you code in Wordpress and don&#039;t proofread a 2nd time - fixed!</description>
		<content:encoded><![CDATA[<p>@Jimmy Interesting, though that makes sense.</p>
<p>@Colin Oops, this is what happens when you code in WordPress and don&#8217;t proofread a 2nd time &#8211; fixed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin McCambridge</title>
		<link>http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/comment-page-1/#comment-18787</link>
		<dc:creator>Colin McCambridge</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/?p=390#comment-18787</guid>
		<description>I don&#039;t use lambdas much, so correct me if I&#039;m wrong, but I feel like there&#039;s a bug in your examples there.  As written, wouldn&#039;t you actually be redifining a new local - bool ShouldExit - in the lambda&#039;s scope?  Instead of capturing the ShouldExit from the outer scope?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use lambdas much, so correct me if I&#8217;m wrong, but I feel like there&#8217;s a bug in your examples there.  As written, wouldn&#8217;t you actually be redifining a new local &#8211; bool ShouldExit &#8211; in the lambda&#8217;s scope?  Instead of capturing the ShouldExit from the outer scope?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy Schementi</title>
		<link>http://blog.paulbetts.org/index.php/2010/01/10/a-c-3-5-pattern-the-accept-block-pattern/comment-page-1/#comment-18782</link>
		<dc:creator>Jimmy Schementi</dc:creator>
		<pubDate>Mon, 11 Jan 2010 04:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/?p=390#comment-18782</guid>
		<description>Way to try geting more C# folks using lambdas =)

Actually, how control flow works with a return from a block depends how the block is used by the method accepting it. If the block is used as a &quot;Proc&quot; object, you see the behavior that Array#each has where control leaving the calling method. If it&#039;s converted to a lambda, then control acts more like C#&#039;s lambdas and only returns from the lambda, but not the containing method.</description>
		<content:encoded><![CDATA[<p>Way to try geting more C# folks using lambdas =)</p>
<p>Actually, how control flow works with a return from a block depends how the block is used by the method accepting it. If the block is used as a &#8220;Proc&#8221; object, you see the behavior that Array#each has where control leaving the calling method. If it&#8217;s converted to a lambda, then control acts more like C#&#8217;s lambdas and only returns from the lambda, but not the containing method.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

