<?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>前回のLetまで実装した型システムにレコードを追加する。 gist.github.com レコードというのは{x=1; y=true}のような値にラベルのついたデータ構造。ちなみにタプルは型システム的にはレコードの亜種と考えていい（ラベルが0~の整数だと見做せる）。どちらも代数的データ型における直積型。 ただし処理系の内部実装的には、レコードがタプルに脱糖されることも多いと思う（OCamlがそう）。型検査の前に脱糖してしまうと{x:bool; y:int}と{a:bool; b:int}が同じ型になってしまうので、タプルへの脱糖は型検査の後にならざるを得ない。 型 レコード型を追加： type…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F10%2F08%2F065106&quot; title=&quot;簡単な型システムを実装していく６　STLC+Bool+Nat+Let+Record - 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-10-08 06:51:06</published>
  <title>簡単な型システムを実装していく６　STLC+Bool+Nat+Let+Record</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2022/10/08/065106</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
