{"url":"https://boxnos.hatenablog.com/entry/20071121/1195652205","height":"190","categories":["Scheme"],"title":" SICP\u3092\u8aad\u3080(63) \u554f\u984c 2.45 \u30e9\u30e0\u30c0\u518d\u5e30\u3092\u8fd4\u3057\u305f\u3044\u3002","description":"\u5f15\u304d\u7d9a\u304d\u56f3\u5f62\u8a00\u8a9e\u3002 \u554f\u984c 2.45 (define (split parent child) (define (iter painter n) (if (= n 0) painter (let ((smaller (iter painter (- n 1)))) (parent painter (child smaller smaller))))) iter) \u554f\u984c\u306f\u89e3\u3051\u305f\u3051\u3069\u3001iter\u3092\u4f7f\u308f\u305a\u3001\u30e9\u30e0\u30c0\u518d\u5e30\u3092\u8fd4\u3057\u305f\u3044\u3002\u3061\u3087\u3063\u3068\u5f85\u3066\u3002\u30e9\u30e0\u30c0\u306f\u7121\u540d\u95a2\u6570\u3060\u304b\u3089\u30fb\u30fb\u30fb\u7121\u540d\u95a2\u6570\u3092\u518d\u5e30?\u30a2\u30ec?\u306a\u3093\u304b\u9055\u3046!?\u3061\u3068\u8abf\u3079\u3066\u307f\u308b\u3002 letrec\u6cd5\u3002 (define (split parent child) (le\u2026","author_url":"https://blog.hatena.ne.jp/tanakaBox/","published":"2007-11-21 22:36:45","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071121%2F1195652205\" title=\" SICP\u3092\u8aad\u3080(63) \u554f\u984c 2.45 \u30e9\u30e0\u30c0\u518d\u5e30\u3092\u8fd4\u3057\u305f\u3044\u3002 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30dc\u30af\u30ce\u30b9","blog_url":"https://boxnos.hatenablog.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","version":"1.0","author_name":"tanakaBox","image_url":null}