
{"id":7447,"date":"2012-07-13T18:35:48","date_gmt":"2012-07-13T18:35:48","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7447"},"modified":"2012-07-13T18:35:48","modified_gmt":"2012-07-13T18:35:48","slug":"working-with-scala-examples-1","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/07\/13\/working-with-scala-examples-1\/","title":{"rendered":"working with scala  examples 1"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.29 15 515---&gt; scala\nWelcome to Scala version 2.9.2 (OpenJDK 64-Bit Server VM, Java 1.6.0_24).\nType in expressions to have them evaluated.\nType :help for more information.\n\nscala&gt; 4*2-7\nres0: Int = 1\n\nscala&gt; res0+1\nres1: Int = 2\n\nscala&gt; 2*0.4\nres2: Double = 0.8\n\nscala&gt; \"hello\"\nres3: java.lang.String = hello\n\nscala&gt; \"hello\"+res3\nres4: java.lang.String = hellohello\n\nscala&gt; \"hello\"+res2\nres5: java.lang.String = hello0.8\n\nscala&gt; \"hello res2\"\nres6: java.lang.String = hello res2\n\nscala&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.29 15 515&#8212;&gt; scala Welcome to Scala version 2.9.2 (OpenJDK 64-Bit Server VM, Java 1.6.0_24). Type in expressions to have them evaluated. Type :help for more information. scala&gt; 4*2-7 res0: Int = 1 scala&gt; res0+1 res1: Int = 2 scala&gt; 2*0.4 res2: Double = 0.8 scala&gt; &#8220;hello&#8221; res3: java.lang.String = hello scala&gt; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/07\/13\/working-with-scala-examples-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;working with scala  examples 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7447"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7447"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7447\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}