Iteraptable protocol (iteraptor v1.13.1) View Source
The protocol specifying how the respective struct might be used within Iteraptor.
Experimental. By implementing this protocol one might change the behaviour of nested objects regarding how they should be iterated through.
Link to this section Summary
Functions
Returns a name of the term to be represented in flatmaps
Converts a term to a collectable
Converts a term to an enumerable
Returns a type understood by Iteraptable
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Specs
Returns a name of the term to be represented in flatmaps
Specs
to_collectable(term :: any()) :: Collectable.t()
Converts a term to a collectable
Specs
to_enumerable(term :: any()) :: Enumerable.t()
Converts a term to an enumerable
Specs
Returns a type understood by Iteraptable