{"title":"Scala\u306e\u95a2\u6570\u5b9a\u7fa9","blog_title":"by shigemk2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2014%2F02%2F04%2FScala%25E3%2581%25AE%25E9%2596%25A2%25E6%2595%25B0%25E5%25AE%259A%25E7%25BE%25A9\" title=\"Scala\u306e\u95a2\u6570\u5b9a\u7fa9 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"http://ecx.images-amazon.com/images/I/315Gw-Mz1PL._AA180_.jpg","author_name":"shigemk2","url":"https://www.shigemk2.com/entry/2014/02/04/Scala%E3%81%AE%E9%96%A2%E6%95%B0%E5%AE%9A%E7%BE%A9","version":"1.0","blog_url":"https://www.shigemk2.com/","description":"\u6982\u8981 \u901a\u5e38Scala\u3067def\u3092\u7528\u3044\u3066\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u306b\u306f\u30af\u30e9\u30b9\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066 \u5b9a\u7fa9\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u3060\u304cREPL\u306b\u304a\u3044\u3066\u306f\u3001\u305d\u306e\u5fc5\u8981\u306f\u306a\u304f\u305d\u306e\u307e\u307edef\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u3002 \u30b3\u30fc\u30c9 scala> def add(x:Int, y:Int):Int = x + y add: (x: Int, y: Int)Int scala> add(4,5) res2: Int = 9 scala> def print():Unit = println(\"hello\") print: ()Unit scala> print hello scala> def print:Unit = println(\u2026","type":"rich","height":"190","published":"2014-02-04 21:52:20","provider_name":"Hatena Blog","width":"100%","categories":["Scala"],"author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_url":"https://hatena.blog"}