scala> var a=0 to 10a: scala.collection.immutable.Range.Inclusive = Range(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)scala> a.mamap max maxByscala> a.mamap max maxByscala> a.mkString def mkString(sep: String): String def mkString(start: String, sep: String, end: String): String def mkString: Stringscala> a.mkString(",")res0: String = 0,1,2,3,4,5,6,7,8,9,10