{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F20110801%2F1312229327\" title=\"scala\u306eFunction\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u307f\u308b\u3088 - xuwei-k&#39;s 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":"\u3061\u3087\u3063\u3068\u6c17\u306b\u306a\u3063\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u3001(\u4eba\u306eblog\u306e\u8a18\u8ff0\u3092\u3082\u3068\u306b)\u3064\u3044\u3067\u306b\u8272\u3005\u8aac\u660e\u3057\u3066\u3057\u307e\u3046\u611f\u3058(\uff40\u30fb\u03c9\u30fb\u00b4)\u5f15\u7528\u2193 \u30fbScala\uff08\u7701\u7565\u306a\u3057\uff09 def sum(i: Int, j: Int): Int = { return i + j }\u30fbScala\uff08Ruby\u3068\u540c\u3058\u3067return\u306f\u4e0d\u8981\uff09 def sum(i: Int, j: Int): Int = { i + j }\u30fbScala\uff08\u623b\u308a\u5024\u3082\u578b\u63a8\u8ad6\u53ef\u80fd\uff09 def sum(i: Int, j: Int) = { i + j }\u30fbScala\uff081\u884c\u306e\u5834\u5408\u306f\u62ec\u5f27\u4e0d\u8981\uff09 def sum(i: Int, j: Int) = i + j\u30fbScala\uff08\u5f15\u6570\u3092\u7701\u7565\u2026","type":"rich","author_name":"xuwei","provider_name":"Hatena Blog","published":"2011-08-01 05:08:47","image_url":null,"version":"1.0","blog_url":"https://xuwei-k.hatenablog.com/","width":"100%","url":"https://xuwei-k.hatenablog.com/entry/20110801/1312229327","blog_title":"xuwei-k's blog","title":"scala\u306eFunction\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u307f\u308b\u3088","height":"190","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/xuwei/","categories":["scala"]}