View Source Iter.Iterable.TailTaker (iterex v0.1.2)
An iterable which takes how_many
elements from the end of the iterable.
Summary
Functions
Creates an iterable which takes how_many
elements from the end of the iterable.
Types
@type t() :: %Iter.Iterable.TailTaker{ buffer: nil | [Iter.Iterable.element()], how_many: pos_integer(), iterable: Iter.Iterable.t() }
Functions
@spec new(Iter.Iterable.t(), pos_integer()) :: t()
Creates an iterable which takes how_many
elements from the end of the iterable.