<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Day 17: Making Snowmen</title>
	<atom:link href="http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/</link>
	<description>Something cool about Perl 6 every day</description>
	<lastBuildDate>Sun, 03 Feb 2013 05:15:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Mandelbrot &#171; Just Rakudo It</title>
		<link>http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/#comment-306</link>
		<dc:creator><![CDATA[Mandelbrot &#171; Just Rakudo It]]></dc:creator>
		<pubDate>Mon, 19 Apr 2010 00:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=251#comment-306</guid>
		<description><![CDATA[[...] By colomon  I&#8217;ve dragged the Mandelbrot script from day 17 of the Advent calendar kicking and screaming to the current version of Rakudo. The big hurdle turned out to be an [...]]]></description>
		<content:encoded><![CDATA[<p>[...] By colomon  I&#8217;ve dragged the Mandelbrot script from day 17 of the Advent calendar kicking and screaming to the current version of Rakudo. The big hurdle turned out to be an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: colomon</title>
		<link>http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/#comment-156</link>
		<dc:creator><![CDATA[colomon]]></dc:creator>
		<pubDate>Thu, 17 Dec 2009 19:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=251#comment-156</guid>
		<description><![CDATA[Ah, yes, thanks!  I must admit I still haven&#039;t wrapped my head around what all you can do with Roles...]]></description>
		<content:encoded><![CDATA[<p>Ah, yes, thanks!  I must admit I still haven&#8217;t wrapped my head around what all you can do with Roles&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Whipp</title>
		<link>http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/#comment-155</link>
		<dc:creator><![CDATA[Dave Whipp]]></dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=251#comment-155</guid>
		<description><![CDATA[Instead of augmenting the class, presumably we could also have composed the result of subdivide with a Role that does the mandel:

Role Mandel { method mandel { ... }  };

sub subdivide($low, $high, $count) {
    (^$count).map: {
        ($low + ($^value / ($count - 1)) * ($high - $low)) with Mandel
    }
}

Or perhaps:

my @line = subdivide($re + ($upper-right.im)i, $re + 0i, ($width + 1) / 2).map({ $_ with Mandel })&gt;&gt;.mandel;

Still feels a but ugly]]></description>
		<content:encoded><![CDATA[<p>Instead of augmenting the class, presumably we could also have composed the result of subdivide with a Role that does the mandel:</p>
<p>Role Mandel { method mandel { &#8230; }  };</p>
<p>sub subdivide($low, $high, $count) {<br />
    (^$count).map: {<br />
        ($low + ($^value / ($count &#8211; 1)) * ($high &#8211; $low)) with Mandel<br />
    }<br />
}</p>
<p>Or perhaps:</p>
<p>my @line = subdivide($re + ($upper-right.im)i, $re + 0i, ($width + 1) / 2).map({ $_ with Mandel })&gt;&gt;.mandel;</p>
<p>Still feels a but ugly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: illviljan</title>
		<link>http://perl6advent.wordpress.com/2009/12/17/day-17-making-snowmen/#comment-154</link>
		<dc:creator><![CDATA[illviljan]]></dc:creator>
		<pubDate>Thu, 17 Dec 2009 16:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=251#comment-154</guid>
		<description><![CDATA[The idiom of using

(^$count)

made my day :-). Nice and compact way of generating numbers 0 up to $count (minus 1)!]]></description>
		<content:encoded><![CDATA[<p>The idiom of using</p>
<p>(^$count)</p>
<p>made my day :-). Nice and compact way of generating numbers 0 up to $count (minus 1)!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
