View Source Iter.Iterable.EveryMapper (iterex v0.1.2)
An iterable which maps every nth
element in the iterable.
Summary
Functions
Creates a new iterable which maps every nth
element in the iterable.
Types
@type t() :: %Iter.Iterable.EveryMapper{ count: non_neg_integer(), every: non_neg_integer(), iterable: Iter.Iterable.t(), mapper: (Iter.Iterable.element() -> any()) }
Functions
@spec new(Iter.Iterable.t(), non_neg_integer(), (Iter.Iterable.element() -> any())) :: t()
Creates a new iterable which maps every nth
element in the iterable.