Operations specific to collections (List, Set, etc.). These operations don't make sense for single-value containers.
The element type
The collection type itself for proper return types
Gets the first element of the collection.
Gets the first element wrapped in Option.
Gets all elements except the last.
Gets the last element of the collection.
Gets the last element wrapped in Option.
Gets all elements except the first.
Drops the first n elements from the collection.
Drops the last n elements from the collection.
Drops elements from the start while the predicate is true.
Flattens a collection of collections into a single collection.
Takes the first n elements from the collection.
Takes the last n elements from the collection.
Takes elements from the start while the predicate is true.
Converts the collection to an array.
Operations specific to collections (List, Set, etc.). These operations don't make sense for single-value containers.