<?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の「まとめる機構」にモジュール（module）ってのがありますね。モジュールで、型や関数をまとめてグループにできます。Maybeモナドを例題にして、モナドの構成要素にまとまりをつけてみます。なお、Maybeモナドの概念的なことは「アイレンベルグ／ムーア圏 その3:Maybeモナドのとき」に割と詳しく書いてあります。そこで使われている名前は、fmap, just, fl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20150325%2F1427260591&quot; title=&quot;TypeScriptのモジュール：Maybeモナドの例 - 檜山正幸のキマイラ飼育記 (はてな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-25 14:16:31</published>
  <title>TypeScriptのモジュール：Maybeモナドの例</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20150325/1427260591</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
