<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scheme</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その607。id:athosに影響されて、Let Over LambdaのマクロをGaucheで書いてみる。今回書くのはdefmacro!gというマクロ。これは、g!で始まるシンボルを自動でgensymにしてくれる。使い方は下に書いてあるのを見てください。 で、このdefmacro!gはコード全体を走査して、g!で始まるシンボルを取り出してくる。これが、flattenでリストを潰してfilterするだけで簡単に書けちゃう。こういうのが、全部の構文要素がリストでできてるLispの強みだと思う。 使い方 ;; nifは第1引数が正、ゼロ、負で場合分けするマクロ ;; (nif 4…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090621%2Fdefmacro&quot; title=&quot;LOLのdefmacro!gをGaucheで - みずぴー日記&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-06-21 00:00:00</published>
  <title>LOLのdefmacro!gをGaucheで</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20090621/defmacro</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
