<?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: Scala Collections for the Easily Bored Part 3: All at Once</title>
	<atom:link href="http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Sun, 29 Aug 2010 20:01:44 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-4111</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Thu, 09 Oct 2008 01:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-4111</guid>
		<description>Done...and thanks!</description>
		<content:encoded><![CDATA[<p>Done&#8230;and thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Albrecht</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-4110</link>
		<dc:creator>Kevin Albrecht</dc:creator>
		<pubDate>Wed, 08 Oct 2008 22:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-4110</guid>
		<description>Daniel, you should make a link on part 2 of this series to part 3.  Good series, btw.</description>
		<content:encoded><![CDATA[<p>Daniel, you should make a link on part 2 of this series to part 3.  Good series, btw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3902</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Tue, 05 Aug 2008 02:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3902</guid>
		<description>@Kristian

Quite so.  Thanks for catching!</description>
		<content:encoded><![CDATA[<p>@Kristian</p>
<p>Quite so.  Thanks for catching!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristian Domagala</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3901</link>
		<dc:creator>Kristian Domagala</dc:creator>
		<pubDate>Tue, 05 Aug 2008 00:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3901</guid>
		<description>Just a slight correction to the last example, it should probably be:
 
  elem == Some(3)   // true</description>
		<content:encoded><![CDATA[<p>Just a slight correction to the last example, it should probably be:</p>
<p>  elem == Some(3)   // true</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Weir</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3898</link>
		<dc:creator>Tyler Weir</dc:creator>
		<pubDate>Mon, 04 Aug 2008 16:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3898</guid>
		<description>Hi Daniel, I just wanted to thank you for taking the time to produce these posts.  I find them really helpful.</description>
		<content:encoded><![CDATA[<p>Hi Daniel, I just wanted to thank you for taking the time to produce these posts.  I find them really helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jherber</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3897</link>
		<dc:creator>jherber</dc:creator>
		<pubDate>Mon, 04 Aug 2008 15:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3897</guid>
		<description>here are a few syntactic permutations that also work in your last example, showing how flexible scala&#039;s syntax is:

&quot;val elem = nums.find((n) =&gt; (3 to 5).contains(n))&quot;

alternative function literals:
val elem = nums.find( (n) =&gt; (3.to(5)).contains(n))      // explicit method &quot;to&quot;
val elem = nums.find( n =&gt; (3 to 5).contains(n))      // remove extra parens on param &quot;n&quot; 
val elem = nums.find( n =&gt; 3 to 5 contains(n) )      // remove extra parens on method
val elem = nums.find( n =&gt; 3 to 5 contains n )      // remove extra parens on &quot;contains&quot; func
val elem = nums.find( 3 to 5 contains _ )      // syntax for place holder value
val elem = nums.find( 3 to 5 contains )      // syntax for implied place holder value
val elem = nums.find { 3 to 5 contains }      // parens and curly braces &quot;somewhat&quot; interchangeable</description>
		<content:encoded><![CDATA[<p>here are a few syntactic permutations that also work in your last example, showing how flexible scala&#8217;s syntax is:</p>
<p>&#8220;val elem = nums.find((n) =&gt; (3 to 5).contains(n))&#8221;</p>
<p>alternative function literals:<br />
val elem = nums.find( (n) =&gt; (3.to(5)).contains(n))      // explicit method &#8220;to&#8221;<br />
val elem = nums.find( n =&gt; (3 to 5).contains(n))      // remove extra parens on param &#8220;n&#8221;<br />
val elem = nums.find( n =&gt; 3 to 5 contains(n) )      // remove extra parens on method<br />
val elem = nums.find( n =&gt; 3 to 5 contains n )      // remove extra parens on &#8220;contains&#8221; func<br />
val elem = nums.find( 3 to 5 contains _ )      // syntax for place holder value<br />
val elem = nums.find( 3 to 5 contains )      // syntax for implied place holder value<br />
val elem = nums.find { 3 to 5 contains }      // parens and curly braces &#8220;somewhat&#8221; interchangeable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: German B.</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3896</link>
		<dc:creator>German B.</dc:creator>
		<pubDate>Mon, 04 Aug 2008 15:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3896</guid>
		<description>It might be worth mentioning the strict / lazy distinction in collections to newbies... I have once been puzzled by a difference in behaviour between a Range (lazy) and a List (strict).</description>
		<content:encoded><![CDATA[<p>It might be worth mentioning the strict / lazy distinction in collections to newbies&#8230; I have once been puzzled by a difference in behaviour between a Range (lazy) and a List (strict).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3894</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Mon, 04 Aug 2008 09:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3894</guid>
		<description>Nice catch on the caching bit.  I&#039;ve updated the article with the correction.</description>
		<content:encoded><![CDATA[<p>Nice catch on the caching bit.  I&#8217;ve updated the article with the correction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ole Hougaard</title>
		<link>http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3/comment-page-1#comment-3892</link>
		<dc:creator>Ole Hougaard</dc:creator>
		<pubDate>Mon, 04 Aug 2008 08:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-collections-for-the-easily-bored-part-3#comment-3892</guid>
		<description>Nice installment.

One of the cool things with Scala&#039;s way of returning multiple variables is that you can write things like
  val (even, odd) = separateEven(numbers)


I noticed you didn&#039;t update the cache in the readData example. I suppose that was an oversight.</description>
		<content:encoded><![CDATA[<p>Nice installment.</p>
<p>One of the cool things with Scala&#8217;s way of returning multiple variables is that you can write things like<br />
  val (even, odd) = separateEven(numbers)</p>
<p>I noticed you didn&#8217;t update the cache in the readData example. I suppose that was an oversight.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
