{"blog_url":"https://mtsuyugu.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtsuyugu.hatenadiary.org%2Fentry%2F20080612%2F1213274872\" title=\"Exercise 3.53 - 3.55 - mtsuyugu\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"3.5.2 \u7bc0\u306f\u7121\u9650\u30b9\u30c8\u30ea\u30fc\u30e0\u3002\u7d20\u6570\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u304c\u3001project euler \u306b\u3082\u3069\u308b\u306e\u306f stream \u3092\u8aad\u307f\u7d42\u3048\u3066\u304b\u3089\u306b\u3057\u3088\u3046\u3002\u300c\u7121\u9650\u30b9\u30c8\u30ea\u30fc\u30e0\u300d\u3063\u3066\u540d\u524d\u304c\u683c\u597d\u3044\u3044\u3002 Exercise 3.53. Exercise 3.53. (define s (cons-stream 1 (add-streams s s))) \u304c\u4f55\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u554f\u984c\u3002s \u306e\u6700\u521d\u306e\u8981\u7d20\u306f 1 \u306a\u306e\u3067 (add-streams s s) \u306e\u6700\u521d\u306e\u8981\u7d20\u306f 1 + 1 = 2 \u3068\u306a\u308b\u3002 \u6b21\u306e\u8981\u7d20\u306f 2 + 2 = 4, 4 + 4 = 8...\u3002\u3064\u307e\u308a s \u306f 1, 2, 4, 8, 16, 32 \u3068\u2026","author_url":"https://blog.hatena.ne.jp/mtsuyugu/","blog_title":"mtsuyugu\u306e\u65e5\u8a18","version":"1.0","provider_name":"Hatena Blog","author_name":"mtsuyugu","width":"100%","height":"190","provider_url":"https://hatena.blog","image_url":null,"type":"rich","title":"Exercise 3.53 - 3.55","url":"https://mtsuyugu.hatenadiary.org/entry/20080612/1213274872","categories":["scheme","SICP"],"published":"2008-06-12 21:47:52"}