Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : prelude-safeenum

A redefinition of the Prelude's Enum class in order to render it safe. That is, the Haskell Language Report defines pred, succ, fromEnum, and toEnum to be partial functions when the type is Bounded, but this is unacceptable. We define a new type-class hierarchy for enumeration which is safe and also generalizes to cover types which can only be enumerated in one direction.

Registry - Homepage - JSON
purl: pkg:hackage/prelude-safeenum
Keywords: bsd3, library, prelude
License: BSD-3-Clause
Latest release: about 10 years ago
First release: almost 11 years ago
Dependent repositories: 23
Downloads: 5,193 total
Last synced: about 2 hours ago

    Loading...
    Readme
    Loading...