If I have a Vector of different type number,say, `Vector("abcde",Vector(1,2,3),List(4,5,6),7)`, and I want to get a function:deep\_reverse to reverse the vector deeply to `Vector(7,List(6,5,4),Vector(3,2,1),"edcba")`, I want something like:

```
def reverse2(xs:Seq[Any]):Seq[Any] = xs match{
case Seq() => Seq()
case a +: ys=> a match{
    case _:Seq[Any] =>reverse2(ys) ++: reverse2(a)
    case _:Int =>reverse2(ys) ++: Seq(a)
 }

```

but I can't pass the compiler, how to correct my code? Thanks a lot!