{"published":"2019-06-15 13:50:18","title":"Scala\u96d1\u8a18#1","version":"1.0","type":"rich","provider_url":"https://hatena.blog","blog_title":"\u92fc\u970a\u7684\u624b\u8a18\u5e33\u3002","categories":[],"url":"https://iruk-daily.hatenadiary.jp/entry/2019/06/15/135018","provider_name":"Hatena Blog","blog_url":"https://iruk-daily.hatenadiary.jp/","width":"100%","description":"\u74b0\u5883 sbt\u304c\u3088\u3057\u306a\u306b\u3084\u3063\u3066\u304f\u308c\u308b $ brew install sbt $ sbt console \u5909\u6570\u5ba3\u8a00 val <\u5909\u6570\u540d> = <\u4e2d\u8eab> val <\u5909\u6570\u540d>: <\u578b> = <\u4e2d\u8eab> Hello, World object HelloWorld { def main(args: Array[String]): Unit = { println(\"Hello, World!\") } } if if (\u6761\u4ef6\u5f0f) { do } else { do } while while( n <= 5 ){ println(\"hoge\") i += 1 } for for(x <- 1 to 5; y <\u2026","height":"190","image_url":null,"author_name":"Iruk","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Firuk-daily.hatenadiary.jp%2Fentry%2F2019%2F06%2F15%2F135018\" title=\"Scala\u96d1\u8a18#1 - \u92fc\u970a\u7684\u624b\u8a18\u5e33\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_url":"https://blog.hatena.ne.jp/Iruk/"}