Splitting out 3 or more Arrays in Scala
===

Martin Odersky gives this example to split out an array into 2 collections:

    val people: Array[Person]
    val (minors, adults) = people partition (_.age < 18)

What is the best way to split out into 3 or more arrays:


val (minors, adults, seniors) = people partition?? x < 18, 18 < x < 65, x > 65 // ?