{"blog_url":"https://zehnpaard.hatenablog.com/","image_url":null,"width":"100%","author_name":"zehnpaard","blog_title":"Arantium Maestum","type":"rich","provider_url":"https://hatena.blog","url":"https://zehnpaard.hatenablog.com/entry/2016/06/03/140856","version":"1.0","height":"190","categories":["Clojure","SICP"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/zehnpaard/","description":"SICP1.3.1\u306e\u554f\u984c1.31\u3092\u89e3\u3044\u3066\u307f\u308b\u3002 product\u306erecursive process\u7248\uff1a (defn product [f a next b] (if (> a b) 1 (* (f a) (product f (next a) next b)))) iterative process\u7248\uff1a (defn product [f a next b] (loop [a a result 1] (if (> a b) result (recur (next a) (* (f a) result))))) Idiomatic clojure\u7248\uff1a (defn product [f a next\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2016%2F06%2F03%2F140856\" title=\"SICP\u306e\u52c9\u5f37 \u554f\u984c1.31 - Arantium Maestum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"SICP\u306e\u52c9\u5f37 \u554f\u984c1.31","published":"2016-06-03 14:08:56"}