progs/lecture4.scala
changeset 225 cb11ae7170fe
parent 224 1a45c9bcc77b
child 226 6bb7810d2108
equal deleted inserted replaced
224:1a45c9bcc77b 225:cb11ae7170fe
     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