<?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: 【转】函数式编程另类指南</title>
	<atom:link href="http://erlang-china.org/study/yet-another-pf-guide.html/feed" rel="self" type="application/rss+xml" />
	<link>http://erlang-china.org/study/yet-another-pf-guide.html</link>
	<description>erlang 中文社区</description>
	<lastBuildDate>Mon, 21 May 2012 07:55:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: vaporz</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-58109</link>
		<dc:creator>vaporz</dc:creator>
		<pubDate>Mon, 07 May 2012 08:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-58109</guid>
		<description>咦，CPS难道不是“Continuation-passing style”么？呵呵，不过无所谓了</description>
		<content:encoded><![CDATA[<p>咦，CPS难道不是“Continuation-passing style”么？呵呵，不过无所谓了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bonjovi</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-32211</link>
		<dc:creator>bonjovi</dc:creator>
		<pubDate>Thu, 22 Sep 2011 16:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-32211</guid>
		<description>看了一会，颠覆了我对程序的认知。。继续学习。。很不错的语言，将它的某些优点和其它的语言揉合起来肯定很不错</description>
		<content:encoded><![CDATA[<p>看了一会，颠覆了我对程序的认知。。继续学习。。很不错的语言，将它的某些优点和其它的语言揉合起来肯定很不错</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wang Jing</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-30395</link>
		<dc:creator>Wang Jing</dc:creator>
		<pubDate>Wed, 31 Aug 2011 14:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-30395</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-21704&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-21704&quot; rel=&quot;nofollow&quot;&gt;无毁湖光&lt;/a&gt; :&lt;/strong&gt;
惰性求值就是只求出需要的数值，其他的均保持不动。所以condition至少是要求出来的，但是code就不一定了，condition为真的话code如果是个表达式 ，则该表达式不需要被求值。如果在非fp(比如C)里，那么无论condition怎么取值，code在函数被调用时都会被求出值(表达式的话），这是我对上面朋友问题的理解。
&lt;/blockquote&gt;

但是如果是函数指针则不会被求值，即使是在c里面。所以我对这里也不是很清楚作者是什么意思。</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-21704"><p>
<strong><a href="#comment-21704" rel="nofollow">无毁湖光</a> :</strong><br />
惰性求值就是只求出需要的数值，其他的均保持不动。所以condition至少是要求出来的，但是code就不一定了，condition为真的话code如果是个表达式 ，则该表达式不需要被求值。如果在非fp(比如C)里，那么无论condition怎么取值，code在函数被调用时都会被求出值(表达式的话），这是我对上面朋友问题的理解。
</p></blockquote>
<p>但是如果是函数指针则不会被求值，即使是在c里面。所以我对这里也不是很清楚作者是什么意思。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 演</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-21832</link>
		<dc:creator>演</dc:creator>
		<pubDate>Mon, 07 Mar 2011 02:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-21832</guid>
		<description>这篇文章在我这里递归了</description>
		<content:encoded><![CDATA[<p>这篇文章在我这里递归了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 无毁湖光</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-21704</link>
		<dc:creator>无毁湖光</dc:creator>
		<pubDate>Mon, 28 Feb 2011 23:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-21704</guid>
		<description>惰性求值就是只求出需要的数值，其他的均保持不动。所以condition至少是要求出来的，但是code就不一定了，condition为真的话code如果是个表达式 ，则该表达式不需要被求值。如果在非fp(比如C)里，那么无论condition怎么取值，code在函数被调用时都会被求出值(表达式的话），这是我对上面朋友问题的理解。</description>
		<content:encoded><![CDATA[<p>惰性求值就是只求出需要的数值，其他的均保持不动。所以condition至少是要求出来的，但是code就不一定了，condition为真的话code如果是个表达式 ，则该表达式不需要被求值。如果在非fp(比如C)里，那么无论condition怎么取值，code在函数被调用时都会被求出值(表达式的话），这是我对上面朋友问题的理解。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jianjun</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-20072</link>
		<dc:creator>Jianjun</dc:creator>
		<pubDate>Mon, 13 Dec 2010 14:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-20072</guid>
		<description>&lt;a href=&quot;#comment-3176&quot; rel=&quot;nofollow&quot;&gt;@刚学Erlang（FP）&lt;/a&gt; 
我是这样理解的，不知对不对：
对于改写成函数式的
void unless(boolean condition, List code) {
if(!condition)
code;
}
如果没有惰性求值，那么在调用unless函数的时候，势必要先求出condition和code的值，这样就与需求不符。</description>
		<content:encoded><![CDATA[<p><a href="#comment-3176" rel="nofollow">@刚学Erlang（FP）</a><br />
我是这样理解的，不知对不对：<br />
对于改写成函数式的<br />
void unless(boolean condition, List code) {<br />
if(!condition)<br />
code;<br />
}<br />
如果没有惰性求值，那么在调用unless函数的时候，势必要先求出condition和code的值，这样就与需求不符。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 函数式编程另类指南 &#171; MinC.Me</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-17538</link>
		<dc:creator>函数式编程另类指南 &#171; MinC.Me</dc:creator>
		<pubDate>Fri, 14 May 2010 10:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-17538</guid>
		<description>[...] （写的很棒，我是从http://erlang-china.org/study/yet-another-pf-guide.html转载过来的。那里还有其他一些很好的关于erlang的文章。） [...]</description>
		<content:encoded><![CDATA[<p>[...] （写的很棒，我是从http://erlang-china.org/study/yet-another-pf-guide.html转载过来的。那里还有其他一些很好的关于erlang的文章。） [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sai901013</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-15834</link>
		<dc:creator>sai901013</dc:creator>
		<pubDate>Wed, 03 Feb 2010 17:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-15834</guid>
		<description>翻譯得很正~</description>
		<content:encoded><![CDATA[<p>翻譯得很正~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: east_java</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-14891</link>
		<dc:creator>east_java</dc:creator>
		<pubDate>Wed, 02 Dec 2009 00:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-14891</guid>
		<description>好文章,才第一次看到.</description>
		<content:encoded><![CDATA[<p>好文章,才第一次看到.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zhao Xiaohong</title>
		<link>http://erlang-china.org/study/yet-another-pf-guide.html/comment-page-1#comment-6355</link>
		<dc:creator>Zhao Xiaohong</dc:creator>
		<pubDate>Fri, 03 Oct 2008 07:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/?p=5#comment-6355</guid>
		<description>本来很为作者写出这样精彩的文章感到激动，结果是译作，翻译的很棒，让我一度以为是国人所写。文章本身也很棒!</description>
		<content:encoded><![CDATA[<p>本来很为作者写出这样精彩的文章感到激动，结果是译作，翻译的很棒，让我一度以为是国人所写。文章本身也很棒!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

