<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>scheme</anon>
  </categories>
  <description>On Lispの「18.4 マッチング」に出てきたコードを理解し、Scheme で書き直す。 本丸の match は後回しにし、varsym? と binding を書く。 varsym? varsym? は簡単。 x がパターン変数かどうかを返す。あらかじめテストを書いておいた。 (define (varsym? x) (and (symbol? x) (char=? (string-ref (symbol-&gt;string x) 0) #\?))) (assert-check-true &quot;varsym?&quot; (varsym? '?x) (varsym? '?y) (varsym? '?abc)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20070831%2F1188575431&quot; title=&quot; マクロのマッチングを実装しよう - 2. On Lisp のマッチングコード - higepon 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>2007-08-31 00:50:31</published>
  <title> マクロのマッチングを実装しよう - 2. On Lisp のマッチングコード</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20070831/1188575431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
