<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayato0211</author_name>
  <author_url>https://blog.hatena.ne.jp/ayato0211/</author_url>
  <blog_title>(define -ayalog '())</blog_title>
  <blog_url>https://ayato.hateblo.jp/</blog_url>
  <categories>
    <anon>Clojure</anon>
  </categories>
  <description>たまに馬鹿やります。あやぴーです。 (defmacro foo [] (map inc (range 10))) (foo) ;; java.lang.ClassCastException: java.lang.Long cannot be cast to clojure.lang.IFn こんな感じで上のようなマクロを定義するとエラー吐くけど、よく考えたら当たり前で (foo) は次のように展開されます。 (1 2 3 4 5 6 7 8 9 10) このとき map で返却されていたのはクォートされいないリストであり、こんなものを関数として実行しようとすればエラーが起きて当然です。なので、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20150624%2F1435147200&quot; title=&quot;マクロ書いて、これ IFn にキャスト出来ないんだけどってエラーになったとき - (define -ayalog &amp;#39;())&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-06-24 21:00:00</published>
  <title>マクロ書いて、これ IFn にキャスト出来ないんだけどってエラーになったとき</title>
  <type>rich</type>
  <url>https://ayato.hateblo.jp/entry/20150624/1435147200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
