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

An iterable which emits elements for ever.

Summary

Functions

Create an eternal iterable.

Types

@type t() :: %Iter.Iterable.Cycler{
  buffer: [Iter.Iterable.element()],
  source: Iter.Iterable.t()
}

Functions

@spec new(Iter.Iterable.t()) :: Iter.Iterable.t()

Create an eternal iterable.