<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayato0211</author_name>
  <author_url>https://blog.hatena.ne.jp/ayato0211/</author_url>
  <blog_title>(define -ayalog '())</blog_title>
  <blog_url>https://ayato.hateblo.jp/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>全然暇じゃないです。正直気晴らしに少し考え事しながら書いてました。以下は僕が書いたコード (define (sub1 x) (- x 1)) (define (fact x) (cond ((zero? x) 1) (else (* x (sub1 x))))) こっちはもうひとつのScheme入門から (define (fact n) (if (= n 1) 1 (* n (fact (- n 1))))) まぁ書き終わった後に見比べて思った。 間違ってる？？0判定した後に1かけたら結果変わるじゃん！！ まぁzero?のとこを1判定するだけでいいんですけどもね！！ 後、僕の場合Scheme入…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20120112%2F1326364277&quot; title=&quot;fact関数を暇だったので書いてみた。(本当は暇じゃない) - (define -ayalog &amp;#39;())&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://ecx.images-amazon.com/images/I/41OG665OkZL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-12 19:31:17</published>
  <title>fact関数を暇だったので書いてみた。(本当は暇じゃない)</title>
  <type>rich</type>
  <url>https://ayato.hateblo.jp/entry/20120112/1326364277</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
