>
>
>
> > In Chapter 3, Step 9 of the Odersky book:
> > "Like lists, tuples are immutable,
> > but unlike lists, tuples can contain different types of elements."
> > In the code sequence below, I was successfully able to create lists
> > with strings and Ints mixed in.
> > ------------------
> > val myList = List("one", "two", "three", "four")
> > val hisList = List("five", "six", 237)
> > val herList = 11 :: 12 :: "seven" :: Nil
> > val bigList = myList ::: hisList ::: herList
> > val biggerList = 99 :: bigList
> > println(biggerList)
> > ------------------
> > Please explain. Thanks.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Bay Area Scala Enthusiasts" group.
> > To post to this group, send email to
scala...@googlegroups.com.
> > To unsubscribe from this group, send email to