<?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"
	>
<channel>
	<title>Comments on: SICP section 3.1.1</title>
	<atom:link href="http://eli.thegreenplace.net/2007/09/25/sicp-section-311/feed/" rel="self" type="application/rss+xml" />
	<link>http://eli.thegreenplace.net/2007/09/25/sicp-section-311/</link>
	<description>Eli Bendersky's personal website</description>
	<pubDate>Fri, 21 Nov 2008 23:47:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: eliben</title>
		<link>http://eli.thegreenplace.net/2007/09/25/sicp-section-311/#comment-92081</link>
		<dc:creator>eliben</dc:creator>
		<pubDate>Fri, 14 Dec 2007 06:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/09/25/sicp-section-311/#comment-92081</guid>
		<description>I'm using &lt;code&gt;printf&lt;/code&gt; to print the error to the screen and keep running. You can read about it in any CL reference, for example the Hyperspec.

As for &lt;code&gt;(lambda (x) x)&lt;/code&gt;, nothing strange in it - it's just the identity function, and sometimes it is even useful when writing higher-order functional code.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using <code>printf</code> to print the error to the screen and keep running. You can read about it in any CL reference, for example the Hyperspec.</p>
<p>As for <code>(lambda (x) x)</code>, nothing strange in it - it&#8217;s just the identity function, and sometimes it is even useful when writing higher-order functional code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenjin</title>
		<link>http://eli.thegreenplace.net/2007/09/25/sicp-section-311/#comment-91938</link>
		<dc:creator>Kenjin</dc:creator>
		<pubDate>Thu, 13 Dec 2007 12:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2007/09/25/sicp-section-311/#comment-91938</guid>
		<description>This is trivial but what do you think about this one.
Instead of
(printf "~a~%" "Bad password")
(lambda (x) x)
------------------------------------------
just
(lambda (x) "Bad password")

For an absolute beginner like me,
(lambda (x) x) seems so strange.
and I've never seen printf.  I can make a rough guess of course though.</description>
		<content:encoded><![CDATA[<p>This is trivial but what do you think about this one.<br />
Instead of<br />
(printf &#8220;~a~%&#8221; &#8220;Bad password&#8221;)<br />
(lambda (x) x)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
just<br />
(lambda (x) &#8220;Bad password&#8221;)</p>
<p>For an absolute beginner like me,<br />
(lambda (x) x) seems so strange.<br />
and I&#8217;ve never seen printf.  I can make a rough guess of course though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
