summaryrefslogtreecommitdiffhomepage
path: root/scala.html.markdown
diff options
context:
space:
mode:
authorzlarsen <zlarsen@dmail.dixie.edu>2015-10-09 14:07:44 -0600
committerzlarsen <zlarsen@dmail.dixie.edu>2015-10-09 14:07:44 -0600
commit46b746e8c6101f8a25ba463fb2fb4045c29098a1 (patch)
tree688ca286a0ecb9590562504a53fde96c8bbfcd76 /scala.html.markdown
parent0d0c495c701acc77047df138e169e7cc7ece5f97 (diff)
parentef40704f9b66ae85d7a8a6853abbbf8810af3b90 (diff)
Merge remote-tracking branch 'adambard/master' into forth-es
Diffstat (limited to 'scala.html.markdown')
-rw-r--r--scala.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index c482752d..7189be10 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -43,9 +43,13 @@ Scala - the scalable language
// Printing, and forcing a new line on the next print
println("Hello world!")
println(10)
+// Hello world!
+// 10
// Printing, without forcing a new line on next print
print("Hello world")
+print(10)
+// Hello world!10
// Declaring values is done using either var or val.
// val declarations are immutable, whereas vars are mutable. Immutability is