<?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>さて、構文という奴に取りかかります。あぁ、Schemeには構文がないんだっけ。でもifは構文だよな。マテ、値を返すから式か?・・・構文の定義がイマイチ微妙です。 あんまり細かいことは気にせず進みます。 ifの挙動 ifはdefineと同じように特別な関数です。通常、Schemeは括弧の中から計算していく訳ですが、ifやdefineは括弧の中を評価するよりも先にやるべき事があります。 &gt; (define l '(1 2 3)) &gt; (if (pair? l) (car l) (cdr l)) 1実行の順番を整理すると、 まず、(pair? l)を評価して、#t #tだったら、(car l)を評価…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071205%2F1196809461&quot; title=&quot; Schemeをつくろう(9) if - ボクノス&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-12-05 08:04:21</published>
  <title> Schemeをつくろう(9) if</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20071205/1196809461</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
