<?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.17 リストの最後の要素をリストで返す。 (define odds (list 1 3 5 7)) (define (last-pair items) (if (null? (cdr items)) items (last-pair (cdr items)))) (last-pair odds) ; (7) (null? (cdr items))で一個先読みしてるのがポイント。 問題 2.18 リストの逆順を返す問題。反復を使った。 (define (reverse items) (define (iter i j) (if (null? i) j (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070831%2F1188523159&quot; title=&quot; SICPを読む(47) 問題 2.17 - 2.20 一発で解けた。 - ボクノス&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-08-31 10:19:19</published>
  <title> SICPを読む(47) 問題 2.17 - 2.20 一発で解けた。</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070831/1188523159</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
