Elixir v1.0.4 Range.Iterator protocol

A protocol used for iterating range elements.

Summary

Functions

Count how many items are in the range

Returns the function that calculates the next item

Types

t :: term

Functions

count(first, range)

Count how many items are in the range.

next(first, range)

Returns the function that calculates the next item.