<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>deve68</author_name>
  <author_url>https://blog.hatena.ne.jp/deve68/</author_url>
  <blog_title>コードの恵み</blog_title>
  <blog_url>https://deve68.hatenadiary.org/</blog_url>
  <categories>
    <anon>.groovy</anon>
    <anon>.scala</anon>
  </categories>
  <description>Clojure 編につづき Scala 編へ Scala は Haskell の多くの関数が用意されているので Haskell からの書き換えるのには有利だ。 def makePair [T](xs: Seq[Seq[T]]) = xs zip xs.tail def comlen [T](p: (Seq[T],Seq[T])) = p.zipped takeWhile(x =&gt; x._1 == x._2) size def lenstr [T](p: (Seq[T],Seq[T])) = (comlen(p), p._1) def calcLen [T](xs: Seq[(Seq[T],Se…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeve68.hatenadiary.org%2Fentry%2F20120511%2F1336755406&quot; title=&quot; 最長重複文字列問題 in Scala - コードの恵み&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-11 01:56:46</published>
  <title> 最長重複文字列問題 in Scala</title>
  <type>rich</type>
  <url>https://deve68.hatenadiary.org/entry/20120511/1336755406</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
