<?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>前回 リスト遊び 5-6 eq と equal - by shigemk2拡張しやすいプログラムはよく抽象化されているという。 この章では、補助関数と、「呼び出す関数を実行時に決定する方法」を 使い、Lispの関数を抽象化する技法を学ぶ。 そして、二項演算の式で、関数を抽象化する過程を眺めていく。二項演算の式のサンプル (calc '((1 + 2) - (3 * 4))) =&gt; -9 こんなのを実行出来る関数を作成する。 (defun calc (exp) (cond ((atom exp) exp) ((eq (car (cdr exp)) '+) (+ (calc (car exp)) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120208%2F1328638405&quot; title=&quot;リスト遊び 6-1 二項演算 - 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-08 03:13:25</published>
  <title>リスト遊び 6-1 二項演算</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120208/1328638405</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
