<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
    <anon>SICP</anon>
  </categories>
  <description>引き続き Primitive Procedureの実装。今日は cons/car/cdr 。 純Lispには欠かせない要素です。 Pairというクラスを用意してあげて、 consのapply時に Pair を返す。 car/cdr は Pair を受け取り、それぞれ first/secondを返す。 という実装です。 例のごとく以下のように名前空間に追加する。 environment-&gt;defineVariable(new Variable(&quot;+&quot;), new Plus()); environment-&gt;defineVariable(new Variable(&quot;cons&quot;), new Cons…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20060722%2F1153581912&quot; title=&quot;関数型言語の勉強にSICPを読もう - (62) 4章 - 超言語的抽象(220ページ) C++でSchemeインタプリタを作ろう11 - higepon 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>http://images-jp.amazon.com/images/P/489471163X.09.MZZZZZZZ.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-07-22 00:25:12</published>
  <title>関数型言語の勉強にSICPを読もう - (62) 4章 - 超言語的抽象(220ページ) C++でSchemeインタプリタを作ろう11</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20060722/1153581912</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
