{"version":"1.0","published":"2015-03-21 16:22:25","categories":["tech","scala"],"height":"190","provider_name":"Hatena Blog","width":"100%","image_url":null,"blog_url":"https://blog.shibayu36.org/","author_name":"shiba_yu36","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2015%2F03%2F21%2F162225\" title=\"Scala\u5165\u9580\u3057\u3066\u308b - \u6f14\u7b97\u5b50\u7de8 - $shibayu36-&gt;blog;\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"$shibayu36->blog;","url":"https://blog.shibayu36.org/entry/2015/03/21/162225","author_url":"https://blog.hatena.ne.jp/shiba_yu36/","description":"\u30b3\u30c3\u30d7\u672c\u8aad\u307f\u306a\u304c\u3089\u3001Scala\u5165\u9580\u3057\u3066\u308b\u3002\u4eca\u306f\u7b2c05\u7ae0\u306e\u57fa\u672c\u578b\u3068\u6f14\u7b97\u5b50\u3092\u8aad\u3093\u3067\u308b\u3002Scala\u306e\u6f14\u7b97\u5b50\u306f\u3059\u3079\u3066\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3089\u3057\u3044\u3002\u5206\u304b\u308a\u3084\u3059\u304f\u3066\u826f\u3044\u3002\u4f8b\u3048\u3070 val x = 1 + 1 \u306f val x = (1).+(2) \u3068\u540c\u3058\u3089\u3057\u3044\u3002\u5206\u304b\u308a\u3084\u3059\u3044\u3002 \u5358\u9805\u6f14\u7b97\u5b50\u307f\u305f\u3044\u306a\u306e\u3082\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u306funary_hoge\u307f\u305f\u3044\u306a\u306e\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b\u307f\u305f\u3044\u3002\u3064\u307e\u308a val x = -1 \u306f val x = (1).unary_-() \u3068\u540c\u4e00\u3063\u3066\u611f\u3058\u3063\u307d\u3044\u3002\u5206\u304b\u308a\u3084\u3059\u3044\u3002 \u3061\u306a\u307f\u306b\u3059\u3079\u3066\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u4e2d\u7f6e\u6f14\u7b97\u5b50\u306e\u3088\u3046\u306b\u3067\u304d\u308b\u307f\u305f\u3044\u3002\u4f8b\u3048\u3070String\u306eindexOf\u306f\u5358\u306a\u308b\u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3069\u3001\u4e2d\u7f6e\u6f14\u7b97\u2026","title":"Scala\u5165\u9580\u3057\u3066\u308b - \u6f14\u7b97\u5b50\u7de8","provider_url":"https://hatena.blog","type":"rich"}