View Source Iter.Iterable.Mapper (iterex v0.1.2)
An iterable which applies a mapper function to all it's elements and returns their new values.
Summary
Functions
Create a new map iterable.
Types
@type t() :: %Iter.Iterable.Mapper{ iterable: Iter.Iterable.t(), mapper: (Iter.Iterable.element() -> Iter.Iterable.element()) }
Functions
@spec new(Iter.Iterable.t(), (Iter.Iterable.element() -> Iter.Iterable.element())) :: Iter.Iterable.t()
Create a new map iterable.