how to get a list without the head in svala code example Example: list.tail scala def tail: List[A] The rest of the collection without its first element.