O'Reilly logo
  • Gurprasad Chintakunta thinks this is interesting:

Because Seq also implements PartialFunction, it has an apply method (the Function trait defines an apply method), and it’s a partial function from Int to an element. The reason it’s partial is because for all values of Int you may not have elements in the collection.

From

Cover of Scala in Action

Note

??