{"description":"lambda\u304c\u5165\u308c\u5b50\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3053\u308d\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u3060\u3044\u3076\u8aad\u307f\u6613\u304f\u306a\u308a\u307e\u3057\u305f\u3002 def nlambda(n, xs = [], &f) if n <= 0 f[*xs] else lambda {|x| nlambda(n - 1, xs + [x], &f) } end end I = nlambda(1) {|x | x } K = nlambda(2) {|x, y | x } S = nlambda(3) {|x, y, z| x[z][y[z]] } p S[K][K][100] == I[100] # => true","blog_title":"\u8da3\u5473\u7684\u306b\u3063\u304d","author_name":"ha-tan","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/ha-tan/","categories":["Ruby"],"image_url":null,"height":"190","width":"100%","provider_url":"https://hatena.blog","title":" SKI\u30b3\u30f3\u30d3\u30cd\u30fc\u30bf\u3067SKK = I(Ruby\u7248)\u305d\u306e\u306b","version":"1.0","published":"2007-12-17 23:31:35","blog_url":"https://ha-tan.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fha-tan.hatenadiary.org%2Fentry%2F20071217%2F1197901895\" title=\" SKI\u30b3\u30f3\u30d3\u30cd\u30fc\u30bf\u3067SKK = I(Ruby\u7248)\u305d\u306e\u306b - \u8da3\u5473\u7684\u306b\u3063\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://ha-tan.hatenadiary.org/entry/20071217/1197901895"}