{"categories":["SICP"],"title":"\u554f\u984c2-34\uff082.2.3  Sequences as Conventional Interfaces\uff09","height":"190","author_url":"https://blog.hatena.ne.jp/kiririmode/","type":"rich","version":"1.0","blog_url":"https://kiririmode.hatenablog.jp/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u3068\u3044\u3046\u5f62\u306e\u591a\u9805\u5f0f\u3092\u3068\u3044\u3046\u5f62\u306b\u76f4\u3057\u3066\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\u3092Horner\u306e\u65b9\u6cd5\u3068\u304b\u8a00\u3044\u307e\u3059\u3002 \u3053\u3046\u3084\u308b\u3068\u8a08\u7b97\u56de\u6570\u304c\u82e5\u5e72\u7a0b\u5ea6\u304a\u3055\u3048\u3089\u308c\u308b\u3002\u30b9\u30d0\u3089\u3057\u3044!! \u3053\u308c\u3092scheme\u3067\u66f8\u304f\u306e\u304c\u8ab2\u984c\u3067\u3059\u3002 accumulate\u4f7f\u3048\u3070\u826f\u3044\u307f\u305f\u3044\u3002 (define (accumulate op initial sequence) (if (null? sequence) initial (op (car sequence) (accumulate op initial (cdr sequence))))) (define (horner-eval x coefficient-sequence) (accumulate (l\u2026","blog_title":"\u7406\u7cfb\u5b66\u751f\u65e5\u8a18","author_name":"kiririmode","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20071201%2Fp2\" title=\"\u554f\u984c2-34\uff082.2.3  Sequences as Conventional Interfaces\uff09 - \u7406\u7cfb\u5b66\u751f\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>","published":"2007-12-01 00:00:01","url":"https://kiririmode.hatenablog.jp/entry/20071201/p2"}