<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>awacio</author_name>
  <author_url>https://blog.hatena.ne.jp/awacio/</author_url>
  <blog_title>awacio.log</blog_title>
  <blog_url>https://awacio.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scheme</anon>
    <anon>SICP</anon>
  </categories>
  <description>問題 二つの値の等価をテストする等価述語equ?を定義し、汎用算術演算パッケージに設定せよ。この演算は通常の数、有理数、及び複素数に対して働くものとする。 解答 「異なる型」の比較については現段階で考慮されていない。（だって問題2.80以降にそれについての記述があるし。）なので、ここで考えればよいのは同じ型のデータに対しての比較になる。つーわけで、こんな感じになるか。書き加えたとこだけコメントしてます。 (define (apply-generic op . args) (let* ((type-tags (map type-tag args)) (proc (get op type-tags…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fawacio.hatenadiary.org%2Fentry%2F20101009%2F1286628331&quot; title=&quot;SICP 問題 2.79（汎用等価述語equ?を追加。） - awacio.log&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-10-09 21:45:31</published>
  <title>SICP 問題 2.79（汎用等価述語equ?を追加。）</title>
  <type>rich</type>
  <url>https://awacio.hatenadiary.org/entry/20101009/1286628331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
