<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6374583985636407395.post7322906011603409181..comments</id><updated>2008-04-02T04:59:24.592-07:00</updated><category term='user_group'/><category term='scala'/><category term='PL research'/><category term='scala-blogs.org'/><category term='actors'/><category term='tutorial'/><category term='monad'/><category term='teaser'/><category term='community'/><category term='XML'/><category term='parsing'/><category term='new release'/><category term='reified types'/><category term='meta-programming'/><category term='pdx'/><category term='lift'/><category term='links'/><category term='sample'/><category term='mapreduce'/><category term='hadoop'/><category term='scala static dynamic'/><category term='comet'/><category term='user group'/><category term='osgi'/><category term='manifests'/><category term='smr'/><category term='combinators'/><category term='brisbane'/><category term='official'/><category term='type erasure'/><category term='twitter'/><category term='portland'/><category term='typechecking'/><category term='project euler'/><category term='class'/><category term='gdata'/><category term='variable binding'/><category term='october'/><category term='release'/><category term='sxr'/><category term='boston'/><category term='melbourne'/><category term='tool:maven'/><title type='text'>Comments on Scala Blog: Roman numerals in Scala</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.scala-blogs.org/feeds/7322906011603409181/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html'/><author><name>Steve Jenson</name><uri>http://www.blogger.com/profile/09686593839106107926</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-z-C5VW1Iqcc/TssXb0xNUWI/AAAAAAAAAYU/9HTuwKzKAGo/s220/stevej_ded_profile-1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-6450472796254956918</id><published>2008-04-02T04:59:00.000-07:00</published><updated>2008-04-02T04:59:00.000-07:00</updated><title type='text'>In the definition of "unfold"&lt;br&gt;"case Some(r, v)"...</title><content type='html'>In the definition of "unfold"&lt;BR/&gt;"case Some(r, v)" should actually be&lt;BR/&gt;"case Some((r, v))" (extra parenthesis).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/6450472796254956918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/6450472796254956918'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1207137540000#c6450472796254956918' title=''/><author><name>al</name><uri>http://www.blogger.com/profile/00165849288213425324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1783630307'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-947891830966508258</id><published>2008-01-30T17:10:00.000-08:00</published><updated>2008-01-30T17:10:00.000-08:00</updated><title type='text'>Incidentally, there is a deep category-theoretical...</title><content type='html'>Incidentally, there is a deep category-theoretical foundation to the &lt;B&gt;unfold&lt;/B&gt; operation: it's formally known as a &lt;A HREF="http://en.wikipedia.org/wiki/Anamorphism" REL="nofollow"&gt;anamorphism&lt;/A&gt; (or sometimes the lens operator).&lt;BR/&gt;&lt;BR/&gt;The classic paper &lt;A HREF="http://citeseer.ist.psu.edu/meijer91functional.html" REL="nofollow"&gt;&lt;I&gt;Functional Programming with Bananas, Lenses, Envelopes and Barbed Wire&lt;/I&gt;&lt;/A&gt; provides great insight into several standard recursive operators, and should be considered required reading for serious functional programmers.&lt;BR/&gt;&lt;BR/&gt;I'm surprised to hear that Scala lacks &lt;B&gt;unfold&lt;/B&gt;: I hope it will appear in a future release!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/947891830966508258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/947891830966508258'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1201741800000#c947891830966508258' title=''/><author><name>Sarah A</name><uri>http://www.blogger.com/profile/08930535728736959509</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1565597208'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-1615424925243708788</id><published>2008-01-30T17:06:00.000-08:00</published><updated>2008-01-30T17:06:00.000-08:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/1615424925243708788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/1615424925243708788'/><author><name>Sarah A</name><uri>http://www.blogger.com/profile/08930535728736959509</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1565597208'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-3162737941308180355</id><published>2008-01-23T10:13:00.000-08:00</published><updated>2008-01-23T10:13:00.000-08:00</updated><title type='text'>Interesting piece of code, I found it  useful to g...</title><content type='html'>Interesting piece of code, I found it  useful to get my head around it. And after taking a quick look at Daniel's deromanize function, I tried to make it myself without peeking. It took a few tries... and peeks... but well, that's how you learn! At some point I'll be able to write stuff like that more naturally.&lt;BR/&gt;My favorite parts from ScalaByExample were the exercises... can you guys come up with some in this blog?? That's valuable training!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/3162737941308180355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/3162737941308180355'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1201111980000#c3162737941308180355' title=''/><author><name>Germán</name><uri>http://www.blogger.com/profile/07765922715981210093</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-921408227'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-5606671271265657722</id><published>2008-01-16T23:47:00.000-08:00</published><updated>2008-01-16T23:47:00.000-08:00</updated><title type='text'>def deromanize(roman : String) : int = &lt;br&gt;    num...</title><content type='html'>def deromanize(roman : String) : int = &lt;BR/&gt;    numerals.filter(roman startsWith _._1).sort(_._1.length &gt; _._1.length) match {&lt;BR/&gt;      case (s, v) :: _ =&gt; v + deromanize(roman.substring(s.length))&lt;BR/&gt;      case Nil =&gt; 0&lt;BR/&gt;    }&lt;BR/&gt;  &lt;BR/&gt;woo!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/5606671271265657722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/5606671271265657722'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1200556020000#c5606671271265657722' title=''/><author><name>Daniel Green</name><uri>http://www.blogger.com/profile/12330531444698401088</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-301886858'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-7987069756180356769</id><published>2008-01-14T09:48:00.000-08:00</published><updated>2008-01-14T09:48:00.000-08:00</updated><title type='text'>Ah nm.. got it: &lt;br&gt;&lt;br&gt;The first '_' is the norma...</title><content type='html'>Ah nm.. got it: &lt;BR/&gt;&lt;BR/&gt;The first '_' is the normal scala shorthand for the first parameter of the anonymous function. &lt;BR/&gt;&lt;BR/&gt;The second '_' is part of the '_2' val, that returns the second part of the tuple.  The '_' in '_2' threw me off.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/7987069756180356769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/7987069756180356769'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1200332880000#c7987069756180356769' title=''/><author><name>Maurice Codik</name><uri>http://www.blogger.com/profile/05885954890842001668</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1286564871'/></entry><entry><id>tag:blogger.com,1999:blog-6374583985636407395.post-105854248894912623</id><published>2008-01-14T09:33:00.000-08:00</published><updated>2008-01-14T09:33:00.000-08:00</updated><title type='text'>Cool stuff. In the definition of &amp;quot;next&amp;quot;,...</title><content type='html'>Cool stuff. In the definition of "next", could you explain how the '_._2 &lt;= in' part works? It's the only part thats a little unclear to me..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/105854248894912623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6374583985636407395/7322906011603409181/comments/default/105854248894912623'/><link rel='alternate' type='text/html' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html?showComment=1200331980000#c105854248894912623' title=''/><author><name>Maurice Codik</name><uri>http://www.blogger.com/profile/05885954890842001668</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.scala-blogs.org/2008/01/roman-numerals-in-scala.html' ref='tag:blogger.com,1999:blog-6374583985636407395.post-7322906011603409181' source='http://www.blogger.com/feeds/6374583985636407395/posts/default/7322906011603409181' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1286564871'/></entry></feed>
