<?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 for carlo angiuli (blog)</title>
	<atom:link href="http://www.carloangiuli.com/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.carloangiuli.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 04 Jul 2011 01:20:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Progress report by Mathias</title>
		<link>http://www.carloangiuli.com/blog/archives/666/comment-page-1#comment-17068</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Mon, 04 Jul 2011 01:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=666#comment-17068</guid>
		<description>As a comp.sci. student (Aarhus University) who just did a Programming Languages course featuring Scheme primarily, it&#039;s safe to say I&#039;m looking forward to some math/prog lang theory blogging!</description>
		<content:encoded><![CDATA[<p>As a comp.sci. student (Aarhus University) who just did a Programming Languages course featuring Scheme primarily, it&#8217;s safe to say I&#8217;m looking forward to some math/prog lang theory blogging!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My computerweb by Gentoo</title>
		<link>http://www.carloangiuli.com/blog/archives/245/comment-page-1#comment-10430</link>
		<dc:creator>Gentoo</dc:creator>
		<pubDate>Fri, 18 Feb 2011 05:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=245#comment-10430</guid>
		<description>You scrub, real men use Gentoo.</description>
		<content:encoded><![CDATA[<p>You scrub, real men use Gentoo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Dustin</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10351</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Thu, 03 Feb 2011 18:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10351</guid>
		<description>Very nice post and comments, thanks for sending me this Carlo. In regards to the diagrams, I haven&#039;t used it in a while, but you can make similar stuff with &lt;a href=&quot;http://ditaa.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;Ditaa&lt;/a&gt;. But you have to type everything out and that takes time and yea....</description>
		<content:encoded><![CDATA[<p>Very nice post and comments, thanks for sending me this Carlo. In regards to the diagrams, I haven&#8217;t used it in a while, but you can make similar stuff with <a href="http://ditaa.sourceforge.net/" rel="nofollow">Ditaa</a>. But you have to type everything out and that takes time and yea&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Lindsey</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10336</link>
		<dc:creator>Lindsey</dc:creator>
		<pubDate>Wed, 02 Feb 2011 21:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10336</guid>
		<description>I use &lt;a href=&quot;http://www.omnigroup.com/products/omnigraffle/&quot; rel=&quot;nofollow&quot;&gt;OmniGraffle&lt;/a&gt; for this sort of thing.  It&#039;s Mac-only and costs money, but I like it enough that I&#039;m willing to put up with that.  And, yep, what I said was exactly what Greg said.  (His comment wasn&#039;t there yet when I started mine!  That&#039;s the downside of taking 20 minutes to make a dumb diagram...)</description>
		<content:encoded><![CDATA[<p>I use <a href="http://www.omnigroup.com/products/omnigraffle/" rel="nofollow">OmniGraffle</a> for this sort of thing.  It&#8217;s Mac-only and costs money, but I like it enough that I&#8217;m willing to put up with that.  And, yep, what I said was exactly what Greg said.  (His comment wasn&#8217;t there yet when I started mine!  That&#8217;s the downside of taking 20 minutes to make a dumb diagram&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Carlo</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10335</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Wed, 02 Feb 2011 20:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10335</guid>
		<description>Greg: It does! I believe Lindsey&#039;s diagram says the same thing. Re: mutations, I&#039;m in a CS department that&#039;s huge on Scheme, and I&#039;ve found that occasional (!) use of mutation is actually useful. Besides, I&#039;m in a compilers class this semester, and we&#039;re writing a Scheme compiler from the bottom up. Right now, our input language is basically a collection of set! operations, so I&#039;m a bit desensitized to it anyway.</description>
		<content:encoded><![CDATA[<p>Greg: It does! I believe Lindsey&#8217;s diagram says the same thing. Re: mutations, I&#8217;m in a CS department that&#8217;s huge on Scheme, and I&#8217;ve found that occasional (!) use of mutation is actually useful. Besides, I&#8217;m in a compilers class this semester, and we&#8217;re writing a Scheme compiler from the bottom up. Right now, our input language is basically a collection of set! operations, so I&#8217;m a bit desensitized to it anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Carlo</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10334</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Wed, 02 Feb 2011 19:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10334</guid>
		<description>Lindsey: I drew that same diagram to figure it out, except it was much messier. Thanks for putting it up! How did you draw those nice cons cells and pointers?</description>
		<content:encoded><![CDATA[<p>Lindsey: I drew that same diagram to figure it out, except it was much messier. Thanks for putting it up! How did you draw those nice cons cells and pointers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Carlo</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10333</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Wed, 02 Feb 2011 19:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10333</guid>
		<description>Adam: Good point; you would need to use Racket&#039;s mutable pairs, of course. Racket isn&#039;t exactly a Scheme anymore, it seems.</description>
		<content:encoded><![CDATA[<p>Adam: Good point; you would need to use Racket&#8217;s mutable pairs, of course. Racket isn&#8217;t exactly a Scheme anymore, it seems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Lindsey Kuper</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10331</link>
		<dc:creator>Lindsey Kuper</dc:creator>
		<pubDate>Wed, 02 Feb 2011 18:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10331</guid>
		<description>Oh, yeah, that&#039;s a fun one!  It&#039;s because when we create ls2, the cdr of ls2 is just a pointer to the head of ls, so if we mutate ls, ls2 can&#039;t help but know about it.  But if we change the cdr of ls2 to be something else, there&#039;s no longer any connection between ls and ls2.  I had to draw a diagram to see it: http://i266.photobucket.com/albums/ii256/lindseykuper/mutable-pairs-brainteaser.jpg</description>
		<content:encoded><![CDATA[<p>Oh, yeah, that&#8217;s a fun one!  It&#8217;s because when we create ls2, the cdr of ls2 is just a pointer to the head of ls, so if we mutate ls, ls2 can&#8217;t help but know about it.  But if we change the cdr of ls2 to be something else, there&#8217;s no longer any connection between ls and ls2.  I had to draw a diagram to see it: <a href="http://i266.photobucket.com/albums/ii256/lindseykuper/mutable-pairs-brainteaser.jpg" rel="nofollow">http://i266.photobucket.com/albums/ii256/lindseykuper/mutable-pairs-brainteaser.jpg</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Greg</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10330</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 02 Feb 2011 18:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10330</guid>
		<description>I find this stuff difficult to explain without using diagrams, but this makes sense to me. In both cases, the cdr of ls2 points to ls. When you mutate the cdr of ls in part 1, it shows up in ls2 because ls2 is pointing to ls. But in part 2, you&#039;re actually changing where the cdr of ls2 points to: it&#039;s no longer referencing ls, but instead is pointing to the new list &#039;(0) that you just created. So ls2 changes, but ls stays the same.

Does that make sense? It&#039;s been a little while since I&#039;ve Schemed. (And even when I did, mutating stuff was a big no-no.)</description>
		<content:encoded><![CDATA[<p>I find this stuff difficult to explain without using diagrams, but this makes sense to me. In both cases, the cdr of ls2 points to ls. When you mutate the cdr of ls in part 1, it shows up in ls2 because ls2 is pointing to ls. But in part 2, you&#8217;re actually changing where the cdr of ls2 points to: it&#8217;s no longer referencing ls, but instead is pointing to the new list &#8216;(0) that you just created. So ls2 changes, but ls stays the same.</p>
<p>Does that make sense? It&#8217;s been a little while since I&#8217;ve Schemed. (And even when I did, mutating stuff was a big no-no.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mutable pairs in Scheme: a brainteaser by Adam</title>
		<link>http://www.carloangiuli.com/blog/archives/309/comment-page-1#comment-10328</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 02 Feb 2011 18:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.carloangiuli.com/blog/?p=309#comment-10328</guid>
		<description>I&#039;m pretty sure mutable pairs are disabled by default in Racket, so it is important you&#039;re using Chez.

&gt; (define p (cons 0 1))
&gt; (set-cdr! p p)
&gt; p</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure mutable pairs are disabled by default in Racket, so it is important you&#8217;re using Chez.</p>
<p>&gt; (define p (cons 0 1))<br />
&gt; (set-cdr! p p)<br />
&gt; p</p>
]]></content:encoded>
	</item>
</channel>
</rss>

