<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Nobuhisa</author_name>
  <author_url>https://blog.hatena.ne.jp/Nobuhisa/</author_url>
  <blog_title>Nobuhisa's diary</blog_title>
  <blog_url>https://nobuhisa.hatenablog.jp/</blog_url>
  <categories>
    <anon>LISP</anon>
  </categories>
  <description>マクロの（意図せぬ）変数捕捉について。 ケース1 : 引数がうああ！ ってなる ;; こんなマクロを定義したとする CL-USER&gt; (defmacro swap (var1 var2) `(let ((temp ,var1)) (setq ,var1 ,var2) (setq ,var2 temp) )) SWAP CL-USER&gt; (setq a 10 b 20) 20 CL-USER&gt; (swap a b) 10 CL-USER&gt; (list a b) (20 10) ;; やったぜ！ ;; また入れ替えてやるぜ！ CL-USER&gt; (setq temp 10 temp2 20) 20 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnobuhisa.hatenablog.jp%2Fentry%2F20090201%2F1233440914&quot; title=&quot;variable capture - Nobuhisa&amp;#39;s diary&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>2009-02-01 07:28:34</published>
  <title>variable capture</title>
  <type>rich</type>
  <url>https://nobuhisa.hatenablog.jp/entry/20090201/1233440914</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
