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

An iterable which prepends a single element to the end of another iterable.

Summary

Functions

Create a new prepender iterable.

Types

@type t() :: %Iter.Iterable.Prepender{
  element: Iter.Iterable.element(),
  iterable: Iter.Iterable.t()
}

Functions

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

Create a new prepender iterable.