<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-hiyama</author_name>
  <author_url>https://blog.hatena.ne.jp/m-hiyama/</author_url>
  <blog_title>檜山正幸のキマイラ飼育記 (はてなBlog)</blog_title>
  <blog_url>https://m-hiyama.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記／備忘</anon>
  </categories>
  <description>「TypeScriptと関手やモナドなど」において、TypeScriptでリストモナドを書いてみたのですが、コモナド（モナドの双対概念）も扱ってみます。通常、リストモナドと呼ばれているものは、リスト関手の上の載っている自然変換による代数構造です。同じリスト関手の上に別な代数構造が載ることもあります。そのひとつ、リストの累積コモナドを紹介します。記述にTypeScript（JavaScriptの拡張言語）を使うので、「リスト」の代わりに「配列」という言葉を使います。内容： 累積配列 コモナド（余モナド） コモナド法則 余クライスリ圏 累積配列配列 [a0, a1, ..., aN] に対して、[…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20150327%2F1427425671&quot; title=&quot;リストの累積コモナド、TypeScriptで - 檜山正幸のキマイラ飼育記 (はてなBlog)&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>2015-03-27 12:07:51</published>
  <title>リストの累積コモナド、TypeScriptで</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20150327/1427425671</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
