scala list tail implementation code example Example: list.tail scala def tail: List[A] The rest of the collection without its first element.