{"blog_url":"https://higepon.hatenablog.com/","url":"https://higepon.hatenablog.com/entry/20070221/1172063551","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20070221%2F1172063551\" title=\" call-with-values / values - higepon blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"call-with-values / values \u306e\u5b9f\u88c5\u3002 R5RS\u306b\u3088\u308c\u3070 values \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b call/cc \u3092\u7528\u3044\u3066\u5b9a\u7fa9\u3067\u304d\u308b\u3089\u3057\u3044\u3002 (define values (lambda things (call-with-current-continuation (lambda (cont) (apply cont things))))) call/cc \u3092\u3046\u307e\u3044\u3053\u3068\u62e1\u5f35\u3057\u3064\u3064 call-with-values \u3092\u5b9f\u88c5\u3057\u305f\u3002 mona> (call-with-values (lambda () (values 4 5)) (lambda (a b) b)) 5 mona> (ca\u2026","categories":["Scheme"],"width":"100%","type":"rich","image_url":null,"title":" call-with-values / values","author_name":"higepon","published":"2007-02-21 22:12:31","provider_url":"https://hatena.blog","blog_title":"higepon blog","provider_name":"Hatena Blog","version":"1.0","height":"190","author_url":"https://blog.hatena.ne.jp/higepon/"}