<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinmuro</author_name>
  <author_url>https://blog.hatena.ne.jp/shinmuro/</author_url>
  <blog_title>日曜プログラミング</blog_title>
  <blog_url>https://sunday-programming.hatenablog.com/</blog_url>
  <categories>
    <anon>Clojure</anon>
    <anon>The Joy of Clojure</anon>
  </categories>
  <description>p.142 で出てくる再帰版の pow だけど、機能を実現するだけならこうも書けるよな (defn pow [base exp] (reduce * (repeat exp base))) 短いコードは正義。ちなみにでっかい数を渡した時の結果について。 user&gt; (pow 2 10000) ArithmeticException integer overflow clojure.lang.Numbers.throwIntOverflow (Numbers.java:1388) The Joy of Clojure では例外発生しない結果になってるが、いつからか良く分からんけど 少なくとも C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsunday-programming.hatenablog.com%2Fentry%2F2013%2F04%2F20%2F054103&quot; title=&quot; p.142 での pow - 日曜プログラミング&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>2013-04-20 05:41:03</published>
  <title> p.142 での pow</title>
  <type>rich</type>
  <url>https://sunday-programming.hatenablog.com/entry/2013/04/20/054103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
