{"author_url":"https://blog.hatena.ne.jp/rsakamot/","image_url":null,"title":"SICP3.5.5\u7bc0","type":"rich","published":"2009-06-18 19:08:29","provider_name":"Hatena Blog","blog_title":"\u3055\u304b\u3082\u3068\u306e\u30d6\u30ed\u30b0","url":"https://rskmt.hateblo.jp/entry/20090618/1245319709","author_name":"rsakamot","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frskmt.hateblo.jp%2Fentry%2F20090618%2F1245319709\" title=\"SICP3.5.5\u7bc0 - \u3055\u304b\u3082\u3068\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u6f14\u7fd2\u554f\u984c3.81, 3.82\u306f\u30d1\u30b9\u3059\u308b\uff0e \u4f8b\u984c\u304c\u52d5\u304f\u3088\u3046\uff0crandom-number\u3092\uff0c\u7c21\u5358\u3060\u3051\u3069\uff0c\u4f5c\u3063\u3066\u307f\u305f\uff0e ;;section3.5.5 (load \"./stream.scm\") (use srfi-27) (define (average-int a b) (quotient (+ a b) 2)) (define random-numbers (cons-stream 1 (stream-map (lambda (n) (+ 1 (random-integer (average-int 100 n)))) random-numbers))) (stream-ref-print ra\u2026","width":"100%","blog_url":"https://rskmt.hateblo.jp/","height":"190","categories":["SICP"]}