<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nineties</author_name>
  <author_url>https://blog.hatena.ne.jp/nineties/</author_url>
  <blog_title>ブートストラッピングでコンパイラを作る日記</blog_title>
  <blog_url>https://nineties.hatenadiary.org/</blog_url>
  <categories>
    <anon>rowl</anon>
  </categories>
  <description>型でのマッチングの実装を一部実装しました。 これによって関数のオーバーロードが出来るようになりました↓ print(10) # print_intが呼ばれる print(&quot;Hello World&quot;) # print_stringが呼ばれる関数定義時にはこんな感じで書きます↓ fib(n!Int): fib(n-1) + fib(n-2) fib(0): 0 fib(1): 1これでInt以外でfibを呼ぶとパターンマッチエラー(型エラーではなく)になります。これまでと同じく、型のパターンマッチのコードもJITコンパイルで生成しています。静的型付け言語と違って、rowlでは型によるマッチングであ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnineties.hatenadiary.org%2Fentry%2F20101128%2F1290920293&quot; title=&quot; パターンマッチの実装(3) - ブートストラッピングでコンパイラを作る日記&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>2010-11-28 13:58:13</published>
  <title> パターンマッチの実装(3)</title>
  <type>rich</type>
  <url>https://nineties.hatenadiary.org/entry/20101128/1290920293</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
