<?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>
    <anon>stackoverflow</anon>
  </categories>
  <description>Clojure - why is the &quot;do&quot; statement necessary for grouping?まぁそうなるよね、という例。 (defn x [] (if true (do (println &quot;a&quot;) (println &quot;b&quot;)))) =&gt; (x) a b nil do を使えば正常に動くけど、 do を抜かすと… (defn x [] (if true ((println &quot;a&quot;) (println &quot;b&quot;)))) =&gt; (x) a b NullPointerException user/x (NO_SOURCE_FILE:3) NPE になる。なんで?という話。回答に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20150416%2F1429140406&quot; title=&quot;何故 do ステートメントがグルーピングするのに必要なの？ - (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-04-16 08:26:46</published>
  <title>何故 do ステートメントがグルーピングするのに必要なの？</title>
  <type>rich</type>
  <url>https://ayato.hateblo.jp/entry/20150416/1429140406</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
