{"provider_name":"Hatena Blog","type":"rich","width":"100%","version":"1.0","title":"\u554f\u984c 3-68 (3.5.3  Exploiting the Stream Paradigm)","url":"https://kiririmode.hatenablog.jp/entry/20081003/p1","categories":["SICP"],"height":"190","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20081003%2Fp1\" title=\"\u554f\u984c 3-68 (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>","blog_url":"https://kiririmode.hatenablog.jp/","description":"\u3053\u306e pairs \u306e\u5b9f\u88c5\u306f\u3069\u3053\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u306e\u304b\u3068\u3044\u3046\u554f\u984c\u3067\u3059\uff0e (define (pairs s t) (interleave (stream-map (lambda (x) (list (stream-car s) x)) t) (pairs (stream-cdr s) (stream-cdr t)))) \u5b9f\u969b\u306b\u8d70\u3089\u305b\u3066\u307f\u305f\u3068\u3053\u308d\uff0c\u7121\u9650\u30eb\u30fc\u30d7\u306b\u30cf\u30de\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e (pairs integers integers) \u305d\u3046\u304b! interleave \u306e\u6bb5\u968e\u3067\u306f\u9045\u5ef6\u8a55\u4fa1\u3055\u308c\u306a\u3044\u306e\u3067\uff0cinterleave \u3092\u547c\u3073\u51fa\u3059\u6bb5\u968e\u3067\uff0cpairs \u304c\u547c\u3073\u51fa\u3055\u308c\u308b\uff0eintegers \u306f\u7121\u9650\u30b9\u30c8\u30ea\u30fc\u30e0\u3060\u304b\u3089\u2026","blog_title":"\u7406\u7cfb\u5b66\u751f\u65e5\u8a18","author_name":"kiririmode","author_url":"https://blog.hatena.ne.jp/kiririmode/","published":"2008-10-03 00:00:00"}