The element type
The collection type itself for proper return types
Gets the first element of the collection.
Gets all elements except the last.
Gets the last element of the collection.
Gets all elements except the first.
Left-associative fold over all elements using an initial value and combining function. Unlike foldLeft (which is curried), this provides a convenient uncurried signature.
The final accumulated value
Operations specific to collections (List, Set, etc.). These operations don't make sense for single-value containers.