<?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: 2 Solutions To Project Euler Problem #1</title>
	<atom:link href="http://joeygibson.com/2009/11/06/2-solutions-to-project-euler-problem-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeygibson.com/2009/11/06/2-solutions-to-project-euler-problem-1/</link>
	<description>Java, Clojure, Scala, Groovy, Ruby, Python, Lisp, Objective-C, OSX, politics, religion, Koine Greek, Tae Kwon Do, Spanish and much more!</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:22:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: steve</title>
		<link>http://joeygibson.com/2009/11/06/2-solutions-to-project-euler-problem-1/comment-page-1/#comment-1447</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Tue, 01 Dec 2009 15:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1395#comment-1447</guid>
		<description>I have a version which is quite similar to yours, but a bit shorter:

&lt;code&gt;
println((3 until 1000).filter(x =&gt; (x % 3 == 0 &#124;&#124; x % 5 == 0)).foldLeft(0)(_ + _))
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I have a version which is quite similar to yours, but a bit shorter:</p>
<p><code><br />
println((3 until 1000).filter(x =&gt; (x % 3 == 0 || x % 5 == 0)).foldLeft(0)(_ + _))<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

