<?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: Euler problem 8 solved in Scala and Python</title>
	<atom:link href="http://blog.staale.org/2009/08/euler-problem-8-solved-in-scala-and-python.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.staale.org/2009/08/euler-problem-8-solved-in-scala-and-python.html</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 21 Feb 2011 10:40:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anirudh</title>
		<link>http://blog.staale.org/2009/08/euler-problem-8-solved-in-scala-and-python.html/comment-page-1#comment-3436</link>
		<dc:creator>Anirudh</dc:creator>
		<pubDate>Mon, 21 Feb 2011 10:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.staale.org/?p=128#comment-3436</guid>
		<description>I found that you can use slide() to re-create the same functionality.

Let the string be \val input\. The answer will be:
input.map(_.asDigit).sliding(5).map(slideWindow =&gt; slideWindow.product).max</description>
		<content:encoded><![CDATA[<p>I found that you can use slide() to re-create the same functionality.</p>
<p>Let the string be \val input\. The answer will be:<br />
input.map(_.asDigit).sliding(5).map(slideWindow =&gt; slideWindow.product).max</p>
]]></content:encoded>
	</item>
</channel>
</rss>

