ghc-prelude-safeenum

A redefinition of the Prelude's Enum class in order to render it safe

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.

openSUSE Leap 16.0 jaoks pole ametlikku paketti saadaval

Väljalasked

Mittetoetatud distrod

Järgmisi distrosid ametlikult ei toetata. Kasutage neid pakette omal vastutusel.

SUSE:SLE-15:GA

openSUSE:Leap:15.0

openSUSE:Leap:42.3