Append the given iterable to this iterable.
Reduce the iterable using the given seed and loop function.
Reduce the iterable using the given seed and loop function. Synonym for foldLeft
.
Runs the iterable sequence effect (flatMap
) of functions on this iterable.
Runs the iterable sequence effect (flatMap
) of functions on this iterable. Synonym for ap
.
Runs the iterable sequence effect (flatMap
) of functions on this iterable.
Runs the iterable sequence effect (flatMap
) of functions on this iterable. Synonym for <*>:
.
Return the first element in the iterable satisfying the given predicate, mapping the given function.
Return the number of elements satisfying the given predicate.
Drop at most the given number of elements from the front of the iterable.
Drop elements from the front of the iterable satisfying the given predicate.
True if any elements of the iterable satisfy the given predicate.
Return an iterable with only the elements satisfying the predicate.
Return the first element in the iterable satisfying the given predicate.
Sequence an iterable function on all elements of the iterable.
Flatten an iterable of iterable.
Reduce the iterable using the given seed and loop function.
Reduce the iterable using the given seed and loop function. Synonym for /:
.
True if all elements of the iterable satisfy the given predicate.
Execute the given effect on each element of the iterable.
Return a non-empty iterator.
Map a function on all elements of the iterable.
Partition the iterable into those satisfying a predicate and those that do not.
Reduce the iterable seeded with the head and the loop function on the tail.
Produces an iterable containing cumulative results of applying the operator going left to right.
Produces an iterable containing cumulative results of applying the operator going left to right, starting at head.
Runs the iterable of functions to produce a function to iterables.
The number of element in the iterable.
Returns an interval of elements in the iterable.
Split the iterable, taking from the front while the given predicate satisfies.
Take at most the given number of elements from the front of the iterable.
Take elements from the front of the iterable satisfying the given predicate.
Return a regular iterable, losing the non-empty invariant in the type.
Convert this iterable to a list.
Convert this iterable to a seq.
Convert this iterable to a stream.
Zip this iterable with the given iterable to produce an iterable of pairs.
Creates an iterable formed from this iterable and another iterable by combining corresponding elements in pairs.
Zip this iterable with the infinite iterable from 0 incrementing by 1, to produce an iterable of pairs.
A non-empty iterable contains at least one element. Consequences include:
-
reduceLeft
will always produce a value. -head
will always produce a value. -tail
will always produce a value.Some operations on a non-empty iterable result in a non-empty iterable.
Construction of an
Iterable1
is typically performed with the+::
method, defined onIterable1.RichIterator
.For example: