Stream

drop_every/2

drop_every(enumerable, nth)

Creates a stream that drops every nth element from the enumerable.

The first element is always dropped, unless nth is 0.

nth must be a non-negative integer.