SeqExtensions
Extension methods for the Seq[A] class. These are bought into scope by the seqToImplicit method in the package object.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
This method and "headOnly" method on TraversableImplicit removes the need for headOption in the majority of case. Use head Only if you are only interested in the head value
This method and "headOnly" method on TraversableImplicit removes the need for headOption in the majority of case. Use head Only if you are only interested in the head value
Attributes
This needs to be changed to by name parameters when by name varargs are allowed. I think this is coming in 12.3
This needs to be changed to by name parameters when by name varargs are allowed. I think this is coming in 12.3
Attributes
groups the Sequence into pairs and then maps over them. Throws exception if seq.length.isOdd
groups the Sequence into pairs and then maps over them. Throws exception if seq.length.isOdd
Attributes
Specialised map to an immutable ArrImut for type B.
Specialised map to an immutable ArrImut for type B.
Attributes
Converts this sequence to a specialised ArrImut for the type.
Converts this sequence to a specialised ArrImut for the type.