opvasger/enumerable/1.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/opvasger/enumerable is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 1.0.0 found (57 same-name repos checked); no cached copy. Use another version.

Details

Enumerable

This module documents a simple approach to enumeration.

"An enumeration is a complete, ordered listing of all the items in a collection."

Enumerable

type alias Enumerable value =
value -> value

A function that implements an enumeration over a type of value.

toList : Enumerable value -> value -> List value

Get a list of all distinct values enumerated. The values are ordered according to the enumeration, starting with the given value.