summaryrefslogtreecommitdiffhomepage
path: root/scala.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'scala.html.markdown')
-rw-r--r--scala.html.markdown22
1 files changed, 22 insertions, 0 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index 173d271d..d6524a8f 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -121,3 +121,25 @@ val text = if (x == 10) "yeah" else "nope"
// Object oriented features
+class Person
+
+
+
+// Case classes
+
+case class Person(name:String, phoneNumber:String)
+
+Person("George", "1234") == Person("Kate", "1236")
+
+
+
+// Pattern matching
+
+
+// Regular expressions
+
+
+// Strings
+
+
+// Input and output \ No newline at end of file