chop


Description:

public Seq<G> chop (int64 offset, int64 length = -1)

Returns a seq which contains the remaining elements of this seq after discarding the first n elements, truncated to be no longer than n in length.

On parallel execution, this operation doesn't respect encounter order.

This is a stateful intermediate operation, and also short-circuiting if the given length is not negative.

Parameters:

offset

the number of elements to skip

length

maximum number of elements the seq may contain, or a negative value if unlimited

Returns:

the new seq