limit
Description:
Returns a seq which contains the remaining elements of this seq, truncated to be no longer than n in length.
On parallel execution, this operation doesn't respect encounter order.
This is a short-circuiting stateful intermediate operation.
Parameters:
n |
maximum number of elements the seq may contain |
Returns:
the new seq |