opvasger/comparable/1.0.0

NOTE: the latest version is 2.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/opvasger/comparable 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 (60 same-name repos checked); no cached copy. Use another version.

Details

Comparable

This module mostly exists to document the underlying motivation for the package.

Comparable

type alias From value =
value -> value -> Order

A function to implement comparison for a given type of value.

default : From comparable

The default implementation for comparison of values in Elm. This function implements equality as well as ordering for some types of values - Custom types aren't supported.