{"height":"190","description":"SICP1.3.3\u306e\u554f\u984c1.36\u3092\u89e3\u3044\u3066\u307f\u308b\u3002 \u3068\u3001\u305d\u306e\u524d\u306b\u307e\u305afixed-point\u3092Clojure\u3063\u307d\u304f\u66f8\u3044\u3066\u307f\u308b\u3002 \u30b7\u30fc\u30b1\u30f3\u30b9[a0 a1 ... an-1 an]\u304b\u3089[a0 a1 ... ai-2 ai-1] [a1 a2 ... ai-1 ai] [a2 a3 ... ai ai+1]\u3068\u7d9a\u304f\u30d9\u30af\u30c8\u30eb\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u95a2\u6570\uff1a (defn conseq [i seq] (->> seq (iterate rest) (take i) (apply map vector))) \u3053\u308c\u3063\u3066core\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3066\u3082\u826f\u304f\u306a\u3044\uff1f\u3068\u3044\u3064\u3082\u601d\u3046\u3001\u30b7\u30fc\u30b1\u30f3\u30b9\u304b\u3089\u6761\u4ef6\u306b\u5408\u81f4\u3059\u308b\u6700\u521d\u306e\u8981\u7d20\u3092\u53d6\u308b\u95a2\u6570\uff1a (\u2026","author_url":"https://blog.hatena.ne.jp/zehnpaard/","image_url":null,"provider_url":"https://hatena.blog","width":"100%","blog_url":"https://zehnpaard.hatenablog.com/","url":"https://zehnpaard.hatenablog.com/entry/2016/06/03/165822","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2016%2F06%2F03%2F165822\" title=\"SICP\u306e\u52c9\u5f37 \u554f\u984c1.36 - 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>","type":"rich","blog_title":"Arantium Maestum","version":"1.0","title":"SICP\u306e\u52c9\u5f37 \u554f\u984c1.36","categories":["Clojure","SICP"],"provider_name":"Hatena Blog","published":"2016-06-03 16:58:22","author_name":"zehnpaard"}