<?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>型理論</anon>
    <anon>言語処理系</anon>
  </categories>
  <description>match_fun_tyなどのヘルパ関数をなくす是非を考えていて「型変数を新しく作成して使うコストは低いのだから（破壊的代入でリンクをアップデートしてるので管理する型変数の数が増えても処理が重くならない）、match_fun_tyなどでパターンマッチせずTArrow(tvar1, tvar2)を新しく作って単一化するのでもそこまで非効率ではないのでは？」と多少は楽観視していたのだが。 よく考えると「新しく作る」「管理する」のは低コストだが「単一化」が高コストだった。新しく作った型変数と他の型の単一化で何故コストがかかるかというと、単一化の内部で行われるoccurs checkとadjust l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F11%2F20%2F225915&quot; title=&quot;型システム実装幕間２ unifyとoccurs check、adjust levelについて - 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>2022-11-20 22:59:15</published>
  <title>型システム実装幕間２ unifyとoccurs check、adjust levelについて</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2022/11/20/225915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
