Q: Scala return type I have this as a return type in Scala
 Map[String, Seq[Map[String, Seq[MyClass]]]]

I have to use this in multiple places in my code, is there a way to assign this to a constant of sorts and use the constant instead of explicitly stating it?

A: Yes, you can define a type alias with type Foo = Map[...].
