<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masatoi</author_name>
  <author_url>https://blog.hatena.ne.jp/masatoi/</author_url>
  <blog_title>masatoi’s blog</blog_title>
  <blog_url>https://masatoi.hateblo.jp/</blog_url>
  <categories>
    <anon>LISP</anon>
  </categories>
  <description>証券会社に売買注文を出す処理は失敗することもあるので、再試行できるようにする必要がある。ある処理の中で特定のコンディションが通知されたとき、一定回数再試行するマクロを書くことにした。まずコンディションを定義する必要があるが、コンディションの定義はCLOSのクラス定義とそっくりである。 (define-condition click-repl-error (simple-error) ((session :accessor session-of :initarg :session)) (:report (lambda (condition stream) (format stream &quot;CLIC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasatoi.hateblo.jp%2Fentry%2F20100311%2F1268293325&quot; title=&quot; コンディションの定義と再試行マクロwith-ntimes-retry - masatoi’s blog&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>2010-03-11 16:42:05</published>
  <title> コンディションの定義と再試行マクロwith-ntimes-retry</title>
  <type>rich</type>
  <url>https://masatoi.hateblo.jp/entry/20100311/1268293325</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
