{"image_url":null,"description":"\u3068\u3046\u3068\u3046map\u304c\u51fa\u3066\u304d\u305f\u3002map\u306f,perl\u3084ruby\u7b49\u306b\u3082\u3042\u308b\u7d50\u69cb\u6709\u540d\u306a\u95a2\u6570\u3002\u50d5\u306fforeach\u3084each\u3092\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\u3001map\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u6b86\u3069\u7121\u304b\u3063\u305f\u6c17\u304c\u3059\u308b\u3002Scheme\u306emap\u3092\u4f7f\u3046\u3053\u3068\u3067\u4f55\u304b\u304c\u5909\u308f\u308b\u306e\u3060\u308d\u3046\u304b? map (define (map proc items) (if (null? items) `() (cons (proc (car items)) (map proc (cdr items))))) (map (lambda (x) (* x x)) (list 1 2 3 4)) ; (1 4 9 16) \u30ea\u30b9\u30c8\u5168\u3066\u306bproc\u3092\u9069\u7528\u3067\u304d\u308b\u3002\u3075\u3080\u3075\u3080\u3002map\u306a\u3089\u3001\u300c\u2026","author_name":"tanakaBox","blog_title":"\u30dc\u30af\u30ce\u30b9","published":"2007-09-01 14:04:52","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070901%2F1188623092\" title=\" SICP\u3092\u8aad\u3080(48) 2.2.1(3) map - \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>","categories":["Scheme"],"width":"100%","url":"https://boxnos.hatenablog.com/entry/20070901/1188623092","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tanakaBox/","title":" SICP\u3092\u8aad\u3080(48) 2.2.1(3) map","height":"190","provider_url":"https://hatena.blog","type":"rich","blog_url":"https://boxnos.hatenablog.com/"}