{"published":"2007-12-19 01:18:03","height":"190","author_url":"https://blog.hatena.ne.jp/tanakaBox/","author_name":"tanakaBox","title":" \u540d\u524d\u4ed8\u304dlet","image_url":null,"url":"https://boxnos.hatenablog.com/entry/20071219/1197994683","blog_url":"https://boxnos.hatenablog.com/","description":"\u540d\u524d\u4ed8\u304dlet\u306a\u30b3\u30fc\u30c9\u3092\u898b\u305f\u3051\u3069\u3001\u5168\u7136\u610f\u5473\u4e0d\u660e\u3060\u3063\u305f\u306e\u3067\u300110\u304b\u30890\u307e\u3067\u8db3\u3057\u3066\u307f\u308b\u3002 \u540d\u524d\u4ed8\u304dlet (define (sum n) (let iter ((i n) (s 0)) (if (= i 0) s (iter (- i 1) (+ i s))))) (sum 10) ; 55 \u3069\u3046\u3084\u3089\u3001\u53cd\u5fa9\u306e\u7c21\u6613\u8a18\u6cd5\u3068\u3057\u3066\u4f7f\u3048\u308b\u307f\u305f\u3044\u3002\u5ba3\u8a00\u90e8\u306f\u3001\u521d\u671f\u5316\u3059\u308b\u3060\u3051\u3002\u3046\u3045\u3093\u3002\u308f\u304b\u308a\u306b\u304f\u3044\u3002 \u3064\u3044\u3067\u306b\u3001\u53cd\u5fa9\u3044\u308d\u3044\u308d\u3002 do ACL\u898b\u3066\u4f7f\u3048\u308b!!\u3068\u601d\u3063\u3066\u307f\u305f\u308a\u3002 (define (sum n) (do ((i n (- i 1)) (s 0 (+ s i))) ((= i 0) s))) (sum 10) \u2026","blog_title":"\u30dc\u30af\u30ce\u30b9","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071219%2F1197994683\" title=\" \u540d\u524d\u4ed8\u304dlet - \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>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","categories":["Scheme"]}