<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>読書ノート</anon>
  </categories>
  <description>前回 リスト遊び 7-1 ローカル変数 - by shigemk2繰り返し (while 継続条件式 式1 式2 ... ) whileは特殊関数であり、第一引数の継続条件式がnilでない間、 残りの引数は繰り返し評価する。whileは常にnilを返す。 sumをwhileで実装しなおす。 (defun sum (lst) (let ((ret 0)) ;; lst が nil なら、終了し、最後のretを返す (while lst (setq ret (+ (car lst) ret)) (setq lst (cdr lst))) ret)) sum (sum '(9 9)) 18 repl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120211%2F1328898542&quot; title=&quot;リスト遊び 7-2 while - by shigemk2&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/51BZ2NQA92L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-11 03:29:02</published>
  <title>リスト遊び 7-2 while</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120211/1328898542</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
