{"blog_url":"https://mkotha.hatenadiary.org/","image_url":null,"blog_title":"www.kotha.net\u306e\u88cf","title":" fib = 1 : 1 : zipWith (+) fib (tail fib) \u304c\u9045\u3044\u304b\u3069\u3046\u304b\u306f\u3001\u4f7f\u3044\u65b9\u306b\u4f9d\u5b58\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmkotha.hatenadiary.org%2Fentry%2F20100623%2F1277286946\" title=\" fib = 1 : 1 : zipWith (+) fib (tail fib) \u304c\u9045\u3044\u304b\u3069\u3046\u304b\u306f\u3001\u4f7f\u3044\u65b9\u306b\u4f9d\u5b58\u3059\u308b - www.kotha.net\u306e\u88cf\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","width":"100%","categories":["haskell"],"height":"190","provider_url":"https://hatena.blog","url":"https://mkotha.hatenadiary.org/entry/20100623/1277286946","version":"1.0","author_name":"mkotha","description":"Haskell\u3067\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3092\u8a08\u7b97\u3059\u308b\u30b3\u30fc\u30c9\u3068\u3057\u3066\u3001\u6b21\u306e\u3082\u306e\u304c\u6709\u540d\u3060\u3002 fib :: [Integer] fib = 1 : 1 : zipWith (+) fib (tail fib) \u3053\u308c\u306en\u756a\u76ee\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u304cO(n^2)\u3088\u308a\u3082\u9045\u3044\u3068\u3044\u3046\u3053\u3068\u3092\u6307\u6458\u3057\u305f\u8a18\u4e8b\u304c\u3042\u3063\u305f\u3002 Haskell\u306e\u300cfib = 1:1:zipWith (+) fib (tail fib)\u300d\u306f\u3068\u3066\u3082\u9045\u3044 - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc \u5b9f\u306f\u3053\u306e\u73fe\u8c61\u306f\u3001\u30ea\u30b9\u30c8fib\u3092\u5148\u982d\u304b\u3089\u9806\u756a\u306b\u4f7f\u3063\u3066\u3044\u3063\u305f\u5834\u5408\u306b\u306f\u8d77\u3053\u3089\u306a\u3044\u3002(!!)\u306a\u3069\u3067\u30ea\u30b9\u30c8\u306e\u9014\u4e2d\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3057\u3066\u3001\u305d\u306e\u5024\u3092\u3044\u304d\u306a\u308a\u8a55\u4fa1\u3057\u305f\u5834\u5408\u306b\u767a\u751f\u3059\u308b\u3002\u4ee5\u4e0b\u304c\u5b9f\u8a3c\u7528\u30b3\u30fc\u30c9\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/mkotha/","published":"2010-06-23 18:55:46"}