<?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>
  </categories>
  <description>レコード型を定義して使うコードがどのようにlambda IRにコンパイルされるかを見ていく。 定義して使う 簡単なレコード型を定義した上でa.xなどとアクセスして使ってみる： type t = { x : int; y : string } let () = let a = {x=1; y=&quot;hello&quot;} in print_endline @@ a.y ^ (string_of_int a.x) -dlambdaでコンパイル： (seq (let (*match*/87 = (let (a/83 = [0: 1 &quot;hello&quot;]) (apply (field 45 (global Stdli…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2021%2F05%2F12%2F081721&quot; title=&quot;OCamlのlambda IRをいじる（レコード） - 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-05-12 08:17:21</published>
  <title>OCamlのlambda IRをいじる（レコード）</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2021/05/12/081721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
