View Source Iter.Iterable.Stepper (iterex v0.1.2)

An iterable which advances it's internal iterable by a specific amount each time.

Summary

Functions

Create a new iterable which wraps another iterable.

Types

@type t() :: %Iter.Iterable.Stepper{
  iterable: Iter.Iterable.t(),
  step_size: pos_integer()
}

Functions

Link to this function

new(iterable, step_size)

View Source
@spec new(Iter.Iterable.t(), pos_integer()) :: t()

Create a new iterable which wraps another iterable.