<?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: F#: Continuation Passing Style</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Needham</title>
		<link>http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/comment-page-1/#comment-44661</link>
		<dc:creator>Mark Needham</dc:creator>
		<pubDate>Sat, 14 Aug 2010 10:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1365#comment-44661</guid>
		<description>I&#039;m glad you figured it out because I was going to have to resort to copying the code in F# interactive to figure out what was going on!

As you point out &#039;g&#039; takes in 2 arguments, one of which is a continuation so in the 2nd one I guess we&#039;d attempt to add 1 to a partially applied function if it actually compiled.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you figured it out because I was going to have to resort to copying the code in F# interactive to figure out what was going on!</p>
<p>As you point out &#8216;g&#8217; takes in 2 arguments, one of which is a continuation so in the 2nd one I guess we&#8217;d attempt to add 1 to a partially applied function if it actually compiled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Wildenberg</title>
		<link>http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/comment-page-1/#comment-44603</link>
		<dc:creator>Ronald Wildenberg</dc:creator>
		<pubDate>Fri, 13 Aug 2010 21:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1365#comment-44603</guid>
		<description>Ah, I get it. I made a mistake. Function g is also a continuation function so the second option doesn&#039;t even compile.</description>
		<content:encoded><![CDATA[<p>Ah, I get it. I made a mistake. Function g is also a continuation function so the second option doesn&#8217;t even compile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Wildenberg</title>
		<link>http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/comment-page-1/#comment-44561</link>
		<dc:creator>Ronald Wildenberg</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1365#comment-44561</guid>
		<description>I&#039;m reading Real-World Functional Programming at the moment and after reading the bit about continuations I thought I needed to know more about it and I came across your post.

I had to think some time about the function:

  let f n k = g (n + 1) (fun x -&gt; k(x + 1))

Is it correct that this is exactly the same as:

  let f n k = k (g(n + 1) + 1)

If so, then why would you write it one way or the other? Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;m reading Real-World Functional Programming at the moment and after reading the bit about continuations I thought I needed to know more about it and I came across your post.</p>
<p>I had to think some time about the function:</p>
<p>  let f n k = g (n + 1) (fun x -&gt; k(x + 1))</p>
<p>Is it correct that this is exactly the same as:</p>
<p>  let f n k = k (g(n + 1) + 1)</p>
<p>If so, then why would you write it one way or the other? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Functional C#: Continuation Passing Style at Mark Needham</title>
		<link>http://www.markhneedham.com/blog/2009/06/22/f-continuation-passing-style/comment-page-1/#comment-33723</link>
		<dc:creator>Functional C#: Continuation Passing Style at Mark Needham</dc:creator>
		<pubDate>Fri, 19 Mar 2010 07:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1365#comment-33723</guid>
		<description>[...] my colleague Alex Scordellis&#039; recent post about lambda passing style I spent some time trying out a continuation passing style style on some of the code in one of our controllers to see how different the code would look [...]</description>
		<content:encoded><![CDATA[<p>[...] my colleague Alex Scordellis&#39; recent post about lambda passing style I spent some time trying out a continuation passing style style on some of the code in one of our controllers to see how different the code would look [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

