{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwanpark.hatenadiary.org%2Fentry%2F20060419%2F1145407326\" title=\"\u9045\u5ef6\u8a55\u4fa1\u3068\u672b\u5c3e\u518d\u5e30 - \u3053\u3069\u3082(\u3066\u308c\u3073)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://wanpark.hatenadiary.org/","version":"1.0","author_name":"wanpark","provider_name":"Hatena Blog","width":"100%","title":"\u9045\u5ef6\u8a55\u4fa1\u3068\u672b\u5c3e\u518d\u5e30","type":"rich","author_url":"https://blog.hatena.ne.jp/wanpark/","url":"https://wanpark.hatenadiary.org/entry/20060419/1145407326","image_url":null,"published":"2006-04-19 09:42:06","provider_url":"https://hatena.blog","height":"190","categories":["Haskell","SICP"],"blog_title":"\u3053\u3069\u3082(\u3066\u308c\u3073)","description":"\u305d\u3046\u3044\u3046\u3053\u3068\u3067\u3001\u554f\u984c1.11 \u306e\u53cd\u5fa9\u7684\u306a\u3082\u306e\u3092 Haskell \u3067\u66f8\u304f\u3068\u304d\u306f\u3053\u306e\u524d\u66f8\u3044\u305f f n = iter 2 1 0 n where iter a b c count | count == 0 = c | otherwise = iter (a + 2 * b + 3 * c) a b (count - 1)\u3067\u306f\u56fa\u5b9a\u30b9\u30da\u30fc\u30b9\u3067\u5b9f\u884c\u3067\u304d\u306a\u304f\u3066\u3001\u3053\u3046\u3084\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002 f n = iter 2 1 0 n where iter a b c count | count == 0 = c | otherwise = (iter $! (a + 2 * b + 3 * c)) a b (coun\u2026"}