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

The result of "peeking" into an iterable.

Summary

Functions

Create a new "peeker" iterable.

Types

@type t() :: %Iter.Iterable.Peeker{
  elements: [Iter.Iterable.element()],
  iterable: Iter.Iterable.t(),
  size: non_neg_integer()
}

Functions

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

Create a new "peeker" iterable.