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

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

Summary

Functions

Create a new appender iterable.

Types

@type t() :: %Iter.Iterable.Appender{
  element: {:ok, Iter.Iterable.element()} | :done,
  iterable: Iter.Iterable.t()
}

Functions

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

Create a new appender iterable.