{"blog_url":"https://kiririmode.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/kiririmode/","categories":["SICP"],"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u7406\u7cfb\u5b66\u751f\u65e5\u8a18","height":"190","url":"https://kiririmode.hatenablog.jp/entry/20080926/p2","title":"\u554f\u984c 3-67 (3.5.3  Exploiting the Stream Paradigm)","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20080926%2Fp2\" title=\"\u554f\u984c 3-67 (3.5.3  Exploiting the Stream Paradigm) - \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>","image_url":null,"published":"2008-09-26 00:00:01","author_name":"kiririmode","width":"100%","version":"1.0","description":"\u4e0a\u306e pairs \u306f \u3068\u3044\u3046\u3082\u306e\u3060\u3063\u305f\u3093\u3060\u3051\u3069\uff0c\u4eca\u5ea6\u306f \u3092\u4f5c\u308b\uff0e (define (pairs s t) (cons-stream (list (stream-car s) (stream-car t)) (interleave (interleave (stream-map (lambda (x) (list (stream-car s) x)) (stream-cdr t)) (stream-map (lambda (x) (list x (stream-car t))) (stream-cdr s))) (pairs (stream-cdr s) (stream-cdr t)))))"}