progs/lecture4.scala
changeset 225 56732dbefcff
parent 224 42d760984496
child 226 5e489c9fe47b
equal deleted inserted replaced
224:42d760984496 225:56732dbefcff
     6 //===================
     6 //===================
     7 
     7 
     8 // You do not want to write functions like contains, first, 
     8 // You do not want to write functions like contains, first, 
     9 // length and so on for every type of lists.
     9 // length and so on for every type of lists.
    10 
    10 
    11 
    11 List("one", "two", "three", "four")
    12 
    12 
    13 
    13 
    14 
    14 
    15 
    15 
    16 
    16