<?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>
    <anon>Haskell</anon>
  </categories>
  <description>List モナドは長さの変化するリストの演算を連鎖させて行うときに使います。 例としてフィボナッチ数を求めてみます。 フィボナッチ数 1つがいの兎は、産まれて2か月後から毎月1つがいずつの兎を産む。 1つがいの兎は1年の間に何つがいの兎になるか？つがいの兎を Int 型の数字で表現します。その数字は生まれてからの月数だと思ってください。 -- 1ヶ月後のつがいの兎 -- 引数はつがいの兎で出力は1ヶ月後のつがいの兎です。 -- 産まれて2か月未満なら年齢を加算しますがつがいの兎の数は変化しません。 -- それ以上なら年齢を加算したうえに新しい0歳のつがいの兎が増えます。 nextRabbits…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20111013%2F1318512067&quot; title=&quot;モナドって何だろう(2) List モナド - 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-13 22:21:07</published>
  <title>モナドって何だろう(2) List モナド</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20111013/1318512067</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
