<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osiire</author_name>
  <author_url>https://blog.hatena.ne.jp/osiire/</author_url>
  <blog_title>osiire’s blog</blog_title>
  <blog_url>https://osiire.hatenablog.com/</blog_url>
  <categories>
    <anon>多相バリアント</anon>
  </categories>
  <description>さて、今日は多相バリアントの「三つの型」について紹介しようと思います。この「三つのの型」をうまく活用する事で、安全さと柔軟さと再利用性を同時に手に入れることができます。 三つの型 同じ`Aと`Bというタグを使っても、宣言できる多相バリアント型には三種類あります。一気に紹介しちゃいましょう。 # type t1 = [ `A | `B ];; (* 固定 *) type t1 = [ `A | `B ] # type 'a t2 = 'a constraint 'a = [&gt; `A | `B ];; (* 開いている *) type 'a t2 = 'a constraint 'a = [&gt; `…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosiire.hatenablog.com%2Fentry%2F20090514%2F1242235108&quot; title=&quot;多相バリアントを使いこなそう(3) - osiire’s 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>2009-05-14 02:18:28</published>
  <title>多相バリアントを使いこなそう(3)</title>
  <type>rich</type>
  <url>https://osiire.hatenablog.com/entry/20090514/1242235108</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
