{"blog_url":"https://nnao45.hatenadiary.com/","blog_title":"n\u304c\u3072\u3068\u3064\u591a\u3044\u3002","title":"\u3010Scala\u3011\u95a2\u6570\u578b\u521d\u5fc3\u8005\u306e\u30ab\u30ea\u30fc\u306e\u52c9\u5f37","author_url":"https://blog.hatena.ne.jp/nnao45/","version":"1.0","width":"100%","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnnao45.hatenadiary.com%2Fentry%2F2019%2F08%2F02%2F140206\" title=\"\u3010Scala\u3011\u95a2\u6570\u578b\u521d\u5fc3\u8005\u306e\u30ab\u30ea\u30fc\u306e\u52c9\u5f37 - n\u304c\u3072\u3068\u3064\u591a\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"nnao45","provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","description":"\u30ab\u30ea\u30fc \u3053\u306e\u4e8b\u3089\u3057\u3044\u3002 def curry[A,B,C](f: (A, B) => C): A => (B => C) = (a: A) => (b => f(a, b)) // curry: [A, B, C](f: (A, B) => C)A => (B => C) \u7570\u306a\u308b\u578b\u30d1\u30e9\u30e1\u30fc\u30bfA,B,C\u306b\u5bfe\u3057\u3066A,B\u3092\u5f15\u6570\u306b\u53d6\u308a\u623b\u308a\u5024\u304cC\u3068\u306a\u308b\u3088\u3046\u306a\u95a2\u6570\u3092A\u3092\u5f15\u6570\u306b\u3057\u3066\u623b\u308a\u5024\u3092B\u3092\u5f15\u6570\u306b\u3057\u3066C\u3092\u623b\u308a\u5024\u306b\u3059\u308b\u95a2\u6570 \u3063\u3066\u3053\u3068\u306d \ud83d\ude13 \u5177\u4f53\u5316 \u5148\u307b\u3069\u306e\u95a2\u6570curry\u306b\u5bfe\u3057\u3001\u4ee3\u5165\u3067\u304d\u308b\u95a2\u6570\u3092\u7528\u610f\u3059\u308b\u3002 def sum(a: Int, b: Short): Long = a + b // sum: (a: I\u2026","type":"rich","url":"https://nnao45.hatenadiary.com/entry/2019/08/02/140206","image_url":null,"published":"2019-08-02 14:02:06"}