In Scala you can declare a type alias. Typically you do this to create a simple alias for a more complex type.
Using a type alias to simplify a complex type
For example, on this page I note a good example where someone on StackOverflow first defined a type alias named
Row, and then created a second type alias named
Matrix as a list of rows: