<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sandmark</author_name>
  <author_url>https://blog.hatena.ne.jp/sandmark/</author_url>
  <blog_title>すなぶろ</blog_title>
  <blog_url>https://sandmark.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>hy</anon>
    <anon>emacs</anon>
  </categories>
  <description>Python へ直接コンパイルできる Lisp 方言 Hy が楽しいです。 しかし Lisp 族のつもりでいると思わぬ落とし穴があったり（ let, cons がないなど）するので、 とりあえず macroexpand の結果を S 式にしてみます。 Python 3.6.6 Hy 0.15.0 例えば let をマクロで定義してみましょう。 let の正体は lambda というか関数なので、 無名関数を使って実装します。 (defmacro let [values &amp;rest body] (setv var-names (list (map first values)) var-vals …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsandmark.hateblo.jp%2Fentry%2F2018%2F10%2F22%2F213807&quot; title=&quot;Hy の macroexpand が S 式じゃない→直した - すなぶろ&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>2018-10-22 21:38:07</published>
  <title>Hy の macroexpand が S 式じゃない→直した</title>
  <type>rich</type>
  <url>https://sandmark.hateblo.jp/entry/2018/10/22/213807</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
