<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Haskell で Ruby の [a, b, c].join(x) と同等のことをするには intersperse が便利。 &gt; concat $ Data.List.intersperse &quot;-&quot; [&quot;abc&quot;, &quot;def&quot;, &quot;ghi&quot;] -- &gt; &quot;abc-def-ghi&quot; -- intersperse を自分で作るとこんな感じ。 intersperse' :: a -&gt; [a] -&gt; [a] intersperse' _ [x] = [x] intersperse' s (x:xs) = x:s:intersperse' s xs Haskellの駄目な使い方 / 文字列処言語間理比…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20111010%2F1318278843&quot; title=&quot;foldl1,foldr1,scanl1, scanr1 - sirocco の書いてもすぐに忘れるメモ&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>2011-10-10 05:34:03</published>
  <title>foldl1,foldr1,scanl1, scanr1</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20111010/1318278843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
