<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Otter_O</author_name>
  <author_url>https://blog.hatena.ne.jp/Otter_O/</author_url>
  <blog_title>取り急ぎブログです</blog_title>
  <blog_url>https://otter-o.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>Data Recursion</anon>
    <anon>Arrow</anon>
  </categories>
  <description>こうゆう問題を考えて見ましょう。数字の入ったリストがある。そのリストの各要素をそのリストの最小値で引いた値を返す関数decWithMinを書け。つまり、decWithMin [5, 10, 20, 4, 3, 100] =&gt; [2, 7, 17, 1, 0, 97]そんなの簡単じゃんと： decWithMin ls = map (\x -&gt; x - min) ls where min = minimum lsなんてやるわけなんですが、なんとこのコードには重大な欠陥が！...と大げさになるほどのことでもないのですが、要はこのコードはリストlsを2回トラバースしているわけですね...一回目はmin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotter-o.hatenadiary.org%2Fentry%2F20080621%2F1214035114&quot; title=&quot;ArrowLoopとCircularPrograming - 取り急ぎブログです&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>2008-06-21 16:58:34</published>
  <title>ArrowLoopとCircularPrograming</title>
  <type>rich</type>
  <url>https://otter-o.hatenadiary.org/entry/20080621/1214035114</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
