{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"kmizu\u306e\u65e5\u8a18","image_url":null,"author_name":"kmizushima","author_url":"https://blog.hatena.ne.jp/kmizushima/","height":"190","categories":[],"published":"2016-07-16 17:45:22","url":"https://kmizu.hatenablog.com/entry/2016/07/16/174522","blog_url":"https://kmizu.hatenablog.com/","width":"100%","title":"\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u3092eta-expansion\u3059\u308b","type":"rich","description":"eta-expansion\u3068\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u95a2\u6570\u306b\u5909\u63db\u3059\u308b\u51e6\u7406\u3067\u3059\u3002 \u305f\u3068\u3048\u3070\u3001 def add(x: Int, y: Int): Int = x + y val addFunc = add _ \u3067\u3001add _\u306b\u3088\u3063\u3066\u3001eta-expansion\u304c\u884c\u308f\u308c\u3001\u30e1\u30bd\u30c3\u30c9add\u304c\u95a2\u6570\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u3053\u306eeta-expansion\u3001\u30e1\u30bd\u30c3\u30c9\u304c\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u3068\u4e00\u898b\u6b63\u3057\u304f\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002 object O { def add(x: Double, y: Int): Double = x + y def add(x: Int, y: Double): Double = x + y }\u2026","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkmizu.hatenablog.com%2Fentry%2F2016%2F07%2F16%2F174522\" title=\"\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u3092eta-expansion\u3059\u308b - kmizu\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}