<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>OCaml</anon>
    <anon>TaPL</anon>
  </categories>
  <description>zehnpaard.hatenablog.com の続き。 前回は第１級モジュールを非常に綺麗に存在型に対応させられることが示せた。 しかし第１級モジュールを使わずとも、OCamlだとモジュールのシグニチャ自体が存在型的だ。（ただし微妙だが重要な差異もある） 今回はファンクタを通してシグニチャを使うことと存在型の関連について。 ファンクタ 「同じインタフェースを提供するモジュールに対してパラメトリックなコードを書く」という必要がある場合、第１級モジュールを使う手もあるが、OCamlでのより一般的な言語機構は「モジュールを引数にモジュールを返す『関数的なもの』」であるファンクタである。 前回に続…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2021%2F03%2F29%2F005358&quot; title=&quot; OCamlで存在型を試してみた （その２ーーファンクタ） - Arantium Maestum&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>2021-03-29 00:53:58</published>
  <title> OCamlで存在型を試してみた （その２ーーファンクタ）</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2021/03/29/005358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
