progs/lecture1.scala
changeset 34 40424bbe109e
parent 33 b6cb302633eb
child 36 f5ed0fef41b3
--- a/progs/lecture1.scala	Thu Nov 10 10:40:05 2016 +0000
+++ b/progs/lecture1.scala	Thu Nov 10 11:41:50 2016 +0000
@@ -24,6 +24,8 @@
 lst(0)
 lst(2)
 
+// some alterative syntax for lists
+
 1::2::3::Nil
 List(1, 2, 3) ::: List(4, 5, 6)
 
@@ -74,13 +76,13 @@
 
 /* Scala is a strongly typed language
  
- * Base types
+ * some base types
 
     Int, Long, BigInt, Float, Double
     String, Char
     Boolean
 
- * Compound types 
+ * some compound types 
 
     List[Int],
     Set[Double]