<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Ichiban</author_name>
  <author_url>https://blog.hatena.ne.jp/Ichiban/</author_url>
  <blog_title>Ichibanの日記</blog_title>
  <blog_url>https://ichiban.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>リスト構造の中のノード数を数える手続きを考える． (define node-count (lambda (tree) (if (pair? tree) (+ 1 (node-count (car tree)) (node-count (cdr tree))) 1))) 当然末尾再帰になってないからスタックがあふれる．これをCPSに変換するのはちょっとめんどくさい上に読みづらい． (define node-count-cps (letrec ((node-count-iter (lambda (tree k) (if (pair? tree) (node-count-iter (car tree…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fichiban.hatenadiary.org%2Fentry%2F20081107%2F1226006492&quot; title=&quot; ふと思いついたのでCPS - Ichibanの日記&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>2008-11-07 06:21:32</published>
  <title> ふと思いついたのでCPS</title>
  <type>rich</type>
  <url>https://ichiban.hatenadiary.org/entry/20081107/1226006492</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
