<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eshamster</author_name>
  <author_url>https://blog.hatena.ne.jp/eshamster/</author_url>
  <blog_title>eshamster’s diary</blog_title>
  <blog_url>https://eshamster.hatenablog.com/</blog_url>
  <categories>
    <anon>Lisp</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>前回記事の「Parenscriptで少し遊んで見る （5）defstruct編 - eshamster’s diary」ではdefstruc.psマクロ内で展開時のエラー処理を入れたので、テストも一緒に作っています。このときに、マクロ展開時のエラーをテストする方法が意外と見つからなかったのでメモ。探し方が悪いのか、そんなの当たり前でしょということで誰も書いていないのか。 CL-USER&gt; (defmacro throw-error-macro (x) (if (numberp x) `(+ ,x 10) (error 'type-error))) THROW-ERROR-MACRO 特に意味の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feshamster.hatenablog.com%2Fentry%2F2015%2F11%2F29%2F152042&quot; title=&quot;Common Lispでマクロ展開時エラーをテスト - eshamster’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>2015-11-29 15:20:42</published>
  <title>Common Lispでマクロ展開時エラーをテスト</title>
  <type>rich</type>
  <url>https://eshamster.hatenablog.com/entry/2015/11/29/152042</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
