<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>問題 2.1 そういえば「再代入の方法を知らない」という事実に気がついた。正負を逆にするだけで大変だ・・・。う〜ん、う〜ん。新しい変数を用意して代入する手もあるけど、なんかBASIC!って感じなので、パス。考えた末に、 (define (make-rat n d) (define (rat-normal x) (if (negative? (denom x)) (cons (* -1 (numer x)) (* -1 (denom x))) x)) (define (rat-gcd x) (let ((g (gcd (numer x) (denom x)))) (cons (/ (numer …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070716%2F1184589058&quot; title=&quot; SICPを読む(34) 問題2.1 ちとはまった。 - ボクノス&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>2007-07-16 21:30:58</published>
  <title> SICPを読む(34) 問題2.1 ちとはまった。</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070716/1184589058</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
