<?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 7: Looping for fun and profit</title>
	<atom:link href="http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/</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: saan</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-2953</link>
		<dc:creator><![CDATA[saan]]></dc:creator>
		<pubDate>Wed, 09 Jan 2013 13:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-2953</guid>
		<description><![CDATA[Hi Matthew Walton
where is
Moritz’s comment for the $.say business
I can’t find that.]]></description>
		<content:encoded><![CDATA[<p>Hi Matthew Walton<br />
where is<br />
Moritz’s comment for the $.say business<br />
I can’t find that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saan</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-2952</link>
		<dc:creator><![CDATA[saan]]></dc:creator>
		<pubDate>Wed, 09 Jan 2013 13:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-2952</guid>
		<description><![CDATA[where is 
Moritz’s comment for the $.say business
I can&#039;t find that.]]></description>
		<content:encoded><![CDATA[<p>where is<br />
Moritz’s comment for the $.say business<br />
I can&#8217;t find that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: День 7: Циклы для пользы и развлечения. &#124; Ky6uk&#039;s Blog</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-312</link>
		<dc:creator><![CDATA[День 7: Циклы для пользы и развлечения. &#124; Ky6uk&#039;s Blog]]></dc:creator>
		<pubDate>Fri, 30 Apr 2010 08:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-312</guid>
		<description><![CDATA[[...] &#169; Оригинальная статья. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] &copy; Оригинальная статья. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fliptoad</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-215</link>
		<dc:creator><![CDATA[fliptoad]]></dc:creator>
		<pubDate>Thu, 24 Dec 2009 16:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-215</guid>
		<description><![CDATA[I wasnt formatting the previous post correctly and some of the code got cut
off. What was confusing me was the fact that:
&lt;pre&gt;
say (&lt;a a a&gt; Z &lt;b b b&gt; Z &lt;c c c&gt;).perl
# &lt;a b c a b c a b c&gt;
&lt;/pre&gt;
was giving a different result from:
&lt;pre&gt;
say (&lt;a b a b a b&gt; Z &lt;c c c&gt;).perl
# &lt;a c b c a c&gt;
&lt;/pre&gt;
I found (after reading Synopse 3) that this is due to the fact that the
Z operator was list associative (not right or left). the zipping happens
all at once, rather than two at a time. The previous examples are actually
similar to the following (well, theres something wrong with the syntax):
&lt;pre&gt;
say infix:&lt;Z&gt;(&lt;a a a&gt;; &lt;b b b&gt;; &lt;c c c&gt;).perl;
say infix:&lt;Z&gt;(&lt;a b a b a b&gt;, &lt;c c c&gt;).perl;
&lt;/pre&gt;
So its obvoius that the zip operator knows what to do with three operands.]]></description>
		<content:encoded><![CDATA[<p>I wasnt formatting the previous post correctly and some of the code got cut<br />
off. What was confusing me was the fact that:</p>
<pre>
say (&lt;a a a&gt; Z &lt;b b b&gt; Z &lt;c c c&gt;).perl
# &lt;a b c a b c a b c&gt;
</pre>
<p>was giving a different result from:</p>
<pre>
say (&lt;a b a b a b&gt; Z &lt;c c c&gt;).perl
# &lt;a c b c a c&gt;
</pre>
<p>I found (after reading Synopse 3) that this is due to the fact that the<br />
Z operator was list associative (not right or left). the zipping happens<br />
all at once, rather than two at a time. The previous examples are actually<br />
similar to the following (well, theres something wrong with the syntax):</p>
<pre>
say infix:&lt;Z&gt;(&lt;a a a&gt;; &lt;b b b&gt;; &lt;c c c&gt;).perl;
say infix:&lt;Z&gt;(&lt;a b a b a b&gt;, &lt;c c c&gt;).perl;
</pre>
<p>So its obvoius that the zip operator knows what to do with three operands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-205</link>
		<dc:creator><![CDATA[Jake]]></dc:creator>
		<pubDate>Wed, 23 Dec 2009 03:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-205</guid>
		<description><![CDATA[Whats going on? why is

    my @a = &lt;a&gt;;
    my @b = &lt;b&gt;;
    my @c = ;
    (@a Z @b Z @c).perl.say; # &lt;a&gt;

not equal to

    (&lt;a&gt; Z @c).perl.say # &lt;a&gt;

It looks like perl6 has different array / array ref semantics.]]></description>
		<content:encoded><![CDATA[<p>Whats going on? why is</p>
<p>    my @a = &lt;a&gt;;<br />
    my @b = &lt;b&gt;;<br />
    my @c = ;<br />
    (@a Z @b Z @c).perl.say; # &lt;a&gt;</p>
<p>not equal to</p>
<p>    (&lt;a&gt; Z @c).perl.say # &lt;a&gt;</p>
<p>It looks like perl6 has different array / array ref semantics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bened</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-67</link>
		<dc:creator><![CDATA[bened]]></dc:creator>
		<pubDate>Tue, 08 Dec 2009 15:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-67</guid>
		<description><![CDATA[Ah, thanks. Good to see that automatic array flattening is not gone completely in Perl 6.]]></description>
		<content:encoded><![CDATA[<p>Ah, thanks. Good to see that automatic array flattening is not gone completely in Perl 6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huri</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-63</link>
		<dc:creator><![CDATA[Huri]]></dc:creator>
		<pubDate>Tue, 08 Dec 2009 00:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-63</guid>
		<description><![CDATA[Thanks for the explanation of the : method call form. I hadn&#039;t found it in the specs, and think it&#039;s a pretty neat alternative method call format.

@array.map: *.say;

versus

@array.map(*.say);

Both do the same thing, but the first looks more like natural language than the second. The same goes for 

@array.map: { &quot;$^a $^b&quot;.say } 

versus

@array.map({&quot;$^a $^b&quot;.say});

The Perl 6 language design is very nice, and the work being done with Rakudo, Parrot and Blizkost makes me excited for the future.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the explanation of the : method call form. I hadn&#8217;t found it in the specs, and think it&#8217;s a pretty neat alternative method call format.</p>
<p>@array.map: *.say;</p>
<p>versus</p>
<p>@array.map(*.say);</p>
<p>Both do the same thing, but the first looks more like natural language than the second. The same goes for </p>
<p>@array.map: { &#8220;$^a $^b&#8221;.say } </p>
<p>versus</p>
<p>@array.map({&#8220;$^a $^b&#8221;.say});</p>
<p>The Perl 6 language design is very nice, and the work being done with Rakudo, Parrot and Blizkost makes me excited for the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: colomon</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-62</link>
		<dc:creator><![CDATA[colomon]]></dc:creator>
		<pubDate>Tue, 08 Dec 2009 00:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-62</guid>
		<description><![CDATA[bened: First, &lt;code&gt;@a, @b&lt;/code&gt; is the list composed of all the elements of &lt;code&gt;@a&lt;/code&gt; and all the elements of &lt;code&gt;@b&lt;/code&gt;, rather than a list of two lists.  You can get that from &lt;code&gt;my @c = \@a, \@b&lt;/code&gt;.

Second, [Z] apparently isn&#039;t actually implemented yet in Rakudo.]]></description>
		<content:encoded><![CDATA[<p>bened: First, <code>@a, @b</code> is the list composed of all the elements of <code>@a</code> and all the elements of <code>@b</code>, rather than a list of two lists.  You can get that from <code>my @c = \@a, \@b</code>.</p>
<p>Second, [Z] apparently isn&#8217;t actually implemented yet in Rakudo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Perl 6 Advent Calendar на русском &#124; Ky6uk's Blog</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-60</link>
		<dc:creator><![CDATA[Perl 6 Advent Calendar на русском &#124; Ky6uk's Blog]]></dc:creator>
		<pubDate>Mon, 07 Dec 2009 22:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-60</guid>
		<description><![CDATA[[...] цикла статей было рассказано об установке Rakudo, использованию циклов, операторах форматирования, статических [...]]]></description>
		<content:encoded><![CDATA[<p>[...] цикла статей было рассказано об установке Rakudo, использованию циклов, операторах форматирования, статических [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bened</title>
		<link>http://perl6advent.wordpress.com/2009/12/07/day-7-looping-for-fun-and-profit/#comment-57</link>
		<dc:creator><![CDATA[bened]]></dc:creator>
		<pubDate>Mon, 07 Dec 2009 21:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=126#comment-57</guid>
		<description><![CDATA[I see. Wow!

I tried [Z] but got an error:
&gt; my @a = 1, 2, 3; my @b = 4, 5, 6; my @c = @a, @b; say ([Z] @c).fmt;
Confused at line 1, near &quot;@c).fmt;\n&quot;
in Main (file , line )]]></description>
		<content:encoded><![CDATA[<p>I see. Wow!</p>
<p>I tried [Z] but got an error:<br />
&gt; my @a = 1, 2, 3; my @b = 4, 5, 6; my @c = @a, @b; say ([Z] @c).fmt;<br />
Confused at line 1, near &#8220;@c).fmt;\n&#8221;<br />
in Main (file , line )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
